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
- console.firebase.google.com โ Add project.
- 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:
com.yourcompany.shopcom.yourcompany.deliverycom.yourcompany.sellerFor 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
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.