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.
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.
- Firebase C++ SDK download link: https://firebase.google.com/download/cpp
- Firebase C++ SDK direct download link: https://dl.google.com/firebase/sdk/cpp/firebase_cpp_sdk_8.8.0.zip
Copy header files from firebase_cpp_sdk/include
.
The Gradle dependencies used by this extension need to match the ones specified in the Firebase C++ SDK.
- Add Gradle dependencies to
extension/manifests/android/build.gradle
- Specified in
firebase_cpp_sdk/Android/firebase_dependencies.gradle
->firebaseDependenciesMap
- Or in
firebase_cpp_sdk/readme.md
- Specified in
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++/*
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/