Firebase
Firebase handles phone, Google and Apple sign-in for the apps and the store panel, and sends push notifications. Create a project at console.firebase.google.com (the free plan is enough to start; sending SMS to some countries needs the pay-as-you-go plan).
1. The server (service account)
Section titled “1. The server (service account)”The server checks every sign-in and sends notifications with a service account.
- Firebase console → Project settings → Service accounts → Generate new private key. A JSON file downloads.
- RapidMart admin → Settings → Integrations → Firebase Admin SDK → paste the whole file into Service account JSON → Save.
The private key is encrypted in the database and never shown again.
2. Sign-in methods
Section titled “2. Sign-in methods”Firebase console → Authentication → Sign-in method → turn on Phone, Google and, if you’ll offer it, Apple.
3. Store panel sign-in (web)
Section titled “3. Store panel sign-in (web)”Lets stores sign in to the web panel with the same account as the seller app.
- Firebase console → Project settings → Your apps → Add app → Web. Copy the
firebaseConfigit shows. - RapidMart admin → Settings → Integrations → Store panel sign-in → paste the config into the box. The fields fill themselves; check them and Save.
- Firebase console → Authentication → Settings → Authorised domains → add your domain.
4. The apps
Section titled “4. The apps”Each app connects to the same Firebase project: see Mobile apps → Firebase.