Delivery App
Firebase & Push
The Delivery app uses Firebase only for push notifications (new-order alerts). Connect it to your Firebase project.
1. Register the app in Firebase
In your Firebase project, add an Android app with your delivery package name (e.g. com.yourcompany.delivery) and, for iOS, an iOS app with your bundle id.
2. Add the config files
google-services.json and replace android/app/google-services.json (placeholder).GoogleService-Info.plist and add it to ios/Runner/ in Xcode.🚨
The shipped
google-services.json is a placeholder (YOUR_FIREBASE_PROJECT_ID). Replace it, and make sure its package_name matches your app's package exactly, or the build/notifications will fail.3. Push notifications
- Android: works once your
google-services.jsonis in place. Alerts use thepartner_orderschannel. - iOS: in Xcode add Push Notifications + Background Modes → Remote notifications, and upload your APNs key in Firebase → Cloud Messaging.
Sending is handled server-side — configured once in Push Notifications (FCM).
ℹ️
The Delivery app has no Google/Facebook login — partners sign in with phone + password (and OTP). So there are no social-login keys to configure here.
Test it
Sign in as a delivery partner, then place a test order in the system and confirm the rider device receives a "New order" push.
Getting the config file right
This one file causes most "push doesn't work" tickets, so it is worth being precise:
google-services.json at android/app/google-services.json, replacing the placeholder. Do not merge the files by hand.Verify before building:
grep package_name android/app/google-services.json
grep applicationId android/app/build.gradle.kts
The two must match. If they do not, the Gradle plugin stops the build with processDebugGoogleServices failing.
Troubleshooting
processDebugGoogleServicespackage_name in the JSON does not equal the applicationId. Re-register the correct id in Firebase and download again.👉
Next: Build Android (APK/AAB).