Skip to content

Firebase is Google's mobile platform that helps you quickly develop high-quality apps and grow your business. This repository contains the core components required by the various products included in Firebase. It is not intended for use on its own

License

Notifications You must be signed in to change notification settings

defold/extension-firebase

Repository files navigation

Actions Status Alpha

Firebase

Firebase is Google's mobile platform that helps you quickly develop high-quality apps and grow your business. This repository contains the core components required by the various products included in Firebase. It is not intended for use on its own.


Development notes

Use this guide when setting up or upgrading this core extension and the extensions for each of the Firebase products (such as analytics and remote config). The extensions are using the Firebase C++ SDK and the Firebase iOS SDK.

Copy includes

Copy header files from firebase_cpp_sdk/include.

Configure Android Gradle dependencies

The Gradle dependencies used by this extension need to match the ones specified in the Firebase C++ SDK.

Copy Android C++ library dependencies

Android C++ libraries should be copied from the Firebase C++ SDK to your extension.

  • Copy libs from Firebase C++ SDK
    • firebase_cpp_sdk/libs/android/armeabi-v7a/c++/*
    • firebase_cpp_sdk/libs/android/arm64-v8a/c++/*

Copy iOS dependencies

Setup for iOS is made without CocoaPods using a direct download of the Firebase iOS SDK. It is important to use a version of the iOS SDK matching the iOS dependencies in firebase_cpp_sdk/readme.md.

  • Firebase iOS SDK direct download link: https://github.com/firebase/firebase-ios-sdk/releases/download/8.10.0/Firebase.zip

  • Copy frameworks from iOS SDK. Check the included firebase_ios_sdk/README.md to learn which frameworks you need (most Firebase products require the frameworks for Firebase Analytics as well as the frameworks specific to the product). Note that Defold doesn't support *.xcframework files. You need to unpack/open all the *.framework files from *.xcframework and put to folders according to architecture.

    • firebase_ios_sdk/FirebaseProduct/*.xcframework/ios-arm64_armv7/*.framework -> extension/lib/ios
    • firebase_ios_sdk/FirebaseProduct/*.xcframework/ios-arm64_i386_x86_64-simulator/*.framework -> extension/lib/x86_64-ios
  • Copy libs from the Firebase C++ SDK

    • firebase_cpp_sdk/libs/ios/device-arm64/ -> extension/lib/arm64-ios/
    • firebase_cpp_sdk/libs/ios/device-armv7/ -> extension/lib/armv7-ios/
    • firebase_cpp_sdk/libs/ios/simulator-x86_64/ -> extension/lib/x86_64-ios/

About

Firebase is Google's mobile platform that helps you quickly develop high-quality apps and grow your business. This repository contains the core components required by the various products included in Firebase. It is not intended for use on its own

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •