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
Go to Firebase Console and sign in.
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.
Once the project is created, you will be taken to the Project overview.
Where it says Add an app to get started, click the Android icon.
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.
Click Register app, then Download google-services.json.
Save the downloaded file securely.
Getting your Firebase service account key
In the Firebase Console, go to Project settings.
Navigate to the Service accounts tab.
Click Generate new private key and confirm.
Download the private key file and store it securely.
App settings
Upload the Google Services JSON file
Open your Bubble app and go to Settings – Mobile.
Scroll to the Android settings section and the Firebase Cloud Messaging (FCM) sub-section.
Upload the
google-services.json
file in the field of the same name.
Upload the Firebase service account key
Open your Bubble app and go to Settings – Mobile.
Scroll to the Android settings section and the Firebase Cloud Messaging (FCM) sub-section.
Upload the private key file you downloaded in the Firebase service account key field.
Last updated
Was this helpful?