๐Ÿ›’ Bringo

Provider Guides

Firebase Project

Firebase provides push notifications and phone-OTP for all three apps. Create one project and register each app in it.

1. Create the project

  1. console.firebase.google.com โ†’ Add project.
  2. Name it and finish the wizard. (It links to a Google Cloud project of the same name.)

2. Register your apps

Add an Android (and iOS) app for each of the three apps โ€” they have different package names:

Customer
your customer package, e.g. com.yourcompany.shop
Delivery
your delivery package, e.g. com.yourcompany.delivery
Seller
your seller package, e.g. com.yourcompany.seller

For each Android app, download google-services.json; for each iOS app, download GoogleService-Info.plist, and place them in that app's project (see each app's Firebase page).

3. Add SHA fingerprints (Android)

Google Sign-In and phone-OTP need your app's signing fingerprints. In each Android app's settings, add the SHA-1 and SHA-256:

# debug
keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android
# release โ€” from your release keystore
keytool -list -v -keystore your-release.keystore -alias your-alias
โ–ถ๏ธ
If you use Play App Signing, also add the SHA-1/256 that Google Play shows under App integrity โ€” otherwise Google login breaks for store installs.

4. Enable Phone authentication

Build โ†’ Authentication โ†’ Sign-in method โ†’ enable Phone. (Used for Firebase OTP.)

5. Service-account key (for push)

โš™๏ธ Project settings โ†’ Service accounts โ†’ Generate new private key. This JSON goes into the admin panel โ€” see Push Notifications (FCM).

6. iOS APNs key

For iOS push, create an APNs Auth Key in the Apple Developer portal and upload it under Firebase โ†’ Project settings โ†’ Cloud Messaging.

๐Ÿ‘‰
Related: FCM Push ยท Firebase OTP ยท each app's "Firebase" page.