Skip to main content

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:

  1. Go to Configuration from the side Menu
  2. Select Push Notifications
  3. If you don't already have the service configurations available, you can select Create Push Notification Config
  4. 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.

Select Service

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

FCM Modal

  1. On success, the configuration will be added.
info
  1. 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:

  1. To edit Push Service Configuration, click on the pencil icon from Actions.

Edit Service Push

  1. FCM modal will pop up with the update fields
  2. Make the changes you would like to use.
  3. 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.