Firebase
The PoqFirebase
integration wraps the Firebase SDK to provide Firebase services including Google Analytics, Performance Monitoring, App Distribution and Crashlytics.
Set Up
The Firebase integration requires the GoogleServices plists for production and developer mode to configure Firebase.
Developer Mode
Firebase will be disabled in developer if you do not set up a development plist.
Firebase switches to using the GoogleServiceDevelopment-Info.plist
config when in development mode.
If this config does not exist then Firebase is disabled in developer mode.
This is to avoid tracking fake revenue, generated from development environments, against the live app.
To set up a developer mode plist and app:
- Create a new app in your Firebase project using a fake bundle identifier and download the GoogleService plist. You must match the
{bundleid}.development
exactly (extension syntax). Example:
com.poq.demoapp # Live app BundleIDcom.poq.demoapp.development # Fake BundleID for development mode - must be '.development'
- Rename the
GoogleService-Info.plist
toGoogleServiceDevelopment-Info.plist
and add it to your project.
Share URLs
The Firebase integration is used to minify share URLs when sharing products in the app.
History
- v24: Reworked analytics for the SDK changes.
- v23: Added config for development mode.
- v16: Added Firebase Performance for app health monitoring.