Seller App
Firebase & Push
Sellers get push alerts for new orders, returns, low stock and announcements. Connect the app to your Firebase project.
1. Register the app in Firebase
Add an Android app and an iOS app to your Firebase project, using your seller package name / bundle id.
2. Add the config file
Replace the placeholder android/app/google-services.json with your downloaded file.
YOUR_FIREBASE_PROJECT_ID). Its package_name must match your seller app's package, or the build/notifications won't work.3. Push channels
seller_ordersseller_generaliOS: add Push + Background Modes capabilities and an APNs key in Firebase (after regenerating the iOS project — see Build iOS). Server-side sending is set up in Push Notifications (FCM).
Test it
Sign in as a seller and place a test order against that store — the device should receive a "New order" alert on the seller_orders channel.
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.