Firebase Setup
Create a Firebase project and generate the three files Twinr needs for push notifications and analytics.
Push notifications and Firebase Analytics both run on Firebase, Google's app platform. Setting it up means creating one project and generating up to three files from it.
You do this once. The files are shared across features — upload a file under Push and it appears as already uploaded under Analytics, and the other way round.
What you will generate
google-services.json
Android
Push notifications, Firebase Analytics
GoogleService-Info.plist
iOS
Push notifications, Firebase Analytics
Before you begin
Firebase needs your app's identifiers, and they must match Twinr exactly.
Android package name
iOS bundle ID
Both look like com.yourcompany.yourapp.
1. Create a Firebase project
Open the Firebase console
Go to console.firebase.google.com and sign in with a Google account.
Choose whether to enable Google Analytics
Firebase offers Google Analytics during setup.
Enable it if you plan to use Firebase Analytics. Skip it if you only want push notifications — you can turn it on later.
2. Create the Android file
google-services.json connects your Android app to the Firebase project.
3. Create the iOS file
GoogleService-Info.plist connects your iOS app to the same Firebase project.
4. Create the service account key
The two config files let your app receive notifications. Sending campaigns from Engage needs one more file: a service account key, which authorises Twinr to send on your behalf.
Where the files are used
Frequently asked questions
Last updated