Skip to content

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).

The server checks every sign-in and sends notifications with a service account.

  1. Firebase console → Project settings → Service accounts → Generate new private key. A JSON file downloads.
  2. 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.

Firebase console → Authentication → Sign-in method → turn on Phone, Google and, if you’ll offer it, Apple.

Lets stores sign in to the web panel with the same account as the seller app.

  1. Firebase console → Project settings → Your apps → Add app → Web. Copy the firebaseConfig it shows.
  2. RapidMart admin → Settings → Integrations → Store panel sign-in → paste the config into the box. The fields fill themselves; check them and Save.
  3. Firebase console → Authentication → Settings → Authorised domains → add your domain.

Each app connects to the same Firebase project: see Mobile apps → Firebase.