Firebase Cloud Messaging
Using FCM requires you to:
- Set up the app on Firebase
- Add Firebase to app
- Add Pub/Sub on the firebase project
- Copy Server Key and Sender Id
Adding Config for Firebase Cloud Messaging
From BILDIT-CMS go to:
- Go to Configuration from the side Menu
- Select Push Notifications
- If you don't already have the service configurations available, you can select Create Push Notification Config
- Select the service for which you'd like to add a configuration.
caution
If you already have the push service configuration for the FCM, it is disabled in the dropdown list. You can either edit the current configuration from the list or delete it and add a new FCM configuration.

- After selecting the service, enter the App Name, the App Messenger ID as the Sender ID, and the App Messenger Key as the Server Key. The Server Key and Sender ID are copied from your earlier config.

- On success, the configuration will be added.

info
- If you have multiple configurations set up, make sure the correct FCM configuration is active before sending push notifications.
Editing Config for Firebase Cloud Messaging
After following steps one and two above and there is already an FCM push service in the list:
- To edit Push Service Configuration, click on the pencil icon from Actions.

- FCM modal will pop up with the update fields
- Make the changes you would like to use.
- Update.
warning
BILDIT-CMS allows ONLY ONE configuration per service to allow consistency for the app
Setting Active Push Service Configuration
If you have multiple push services (e.g., FCM, OneSignal, or Airship) and FCM is not currently set as the active push service, you can set it as active.
- Click on Set Active, and on success, you'll see the change marked with the Active tag.