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

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. Current version: 7.3.0.

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.

  • 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

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 from GitHub. It is important to use a version of the iOS SDK matching the iOS dependencies in firebase_cpp_sdk/readme.md.

  • Copy frameworks from iOS SDK. 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.
    • FirebaseFoobar.xcframework/ios-arm64_armv7/*.framework -> extension/libs/ios
    • FirebaseFoobar.xcframework/ios-arm64_i386_x86_64-simulator/*.framework -> extension/libs/x86_64-ios
  • Copy libs from the Firebase C++ SDK
    • firebase_cpp_sdk/libs/ios/device-arm64/
    • firebase_cpp_sdk/libs/ios/device-armv7/
    • firebase_cpp_sdk/libs/ios/simulator-x86_64/

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

  •  
  •  
  •  
  •