Android settings

Push notification settings

Ensure that the files mentioned in the guide below are stored securely, as they grant access to Firebase services. They should be considered sensitive data similar to login credentials and API keys.

Bubble supports Android push notifications using Firebase Cloud Messaging (FCM). To enable push notifications, you need to go through the following steps:

Firebase Console settings

Getting your Google Services JSON file

  1. Go to Firebase Console and sign in.

  2. Click Create a project and follow the setup prompts.

    • If prompted, select a parent resource (your Firebase organization).

    • Enable Google Analytics if applicable (this is not required for push notifications to work).

    • Creating the project can take a few moments to complete.

  3. Once the project is created, you will be taken to the Project overview.

  4. Where it says Add an app to get started, click the Android icon.

  5. Enter your Android package name (this must match the bundle ID used in your app).

    • Optional: You can add an app nickname. This does not affect push notifications.

    • Optional: Debug signing certificate SHA-1. This is not required for push notifications.

  6. Click Register app, then Download google-services.json.

  7. Save the downloaded file securely.

Getting your Firebase service account key

  1. In the Firebase Console, go to Project settings.

  2. Navigate to the Service accounts tab.

  3. Click Generate new private key and confirm.

  4. Download the private key file and store it securely.

App settings

Upload the Google Services JSON file

  1. Open your Bubble app and go to Settings – Mobile.

  2. Scroll to the Android settings section and the Firebase Cloud Messaging (FCM) sub-section.

  3. Upload the google-services.json file in the field of the same name.

Upload the Firebase service account key

  1. Open your Bubble app and go to Settings – Mobile.

  2. Scroll to the Android settings section and the Firebase Cloud Messaging (FCM) sub-section.

  3. Upload the private key file you downloaded in the Firebase service account key field.

Last updated

Was this helpful?