Skip to content

Firebase during publishing

When you publish your app and the Firebase module is active, the wizard shows a Firebase step. Here you provide the service account of your Firebase project — this lets BLOCQ set up all Firebase services automatically during publishing.


StepDescriptionEffort
Set up service accountCreate a Google Cloud service account with the required roles~10 min
Upload service account JSONUpload the JSON file; the app validates the connection~2 min

The Firebase step shows a service account card with a status (configured / not configured yet). Tap it to open the guided service account assistant.

  1. Create the service account

    Tap the service account card. The guided assistant opens the Google Cloud Console right inside the app and walks you through creating a service account with the required roles.

    Detailed guide: Set up a service account

  2. Upload the service account JSON

    Upload the service account’s JSON file. The app validates the connection automatically. Once it’s valid, the card turns green and you can continue.


Previously you had to set up Firebase before activating a module:

BeforeNow
Create the Firebase project before the first moduleCreate the Firebase project during publishing
Copy Firestore rules manuallyRules are deployed automatically
Copy storage rules manuallyRules are deployed automatically
Create indexes manuallyIndexes are created automatically
Manual or automatic setup per moduleEverything at once, fully automatic

Once the Firebase setup is complete, the Auto-Setup Runner starts automatically. It configures all active modules:

  • Firestore security rules for all active modules
  • Storage security rules
  • Firestore indexes
  • Auth methods
  • Admin account
  • Data migration

You don’t need to do anything else — the runner handles everything automatically.


Problem: The uploaded plist or json file is not accepted.

Solutions:

  • Make sure you selected the correct file
  • Check that the file belongs to the correct Firebase project
  • Download the file again from the Firebase Console

Problem: The connection to the service account cannot be established.

Solutions:

  • Check that all 7 roles were assigned correctly
  • Make sure the JSON file was downloaded completely
  • Wait a few minutes — new permissions sometimes take time to take effect