This section is a step-by-step guide to integrate FCM as your service provider for sending Android Push notifications.

Pre-requisites

Integrate FCM in your application:

Android Native

React Native

Flutter


Add FCM config on vendor page

On the SuprSend dashboard, follow the steps as below:

  1. Select Vendors from the left panel
  2. Select 'Android Push' as the channel from the list
  3. Select 'FCM' from the list of Vendors


  1. On the Settings, select the API version

πŸ“˜

Broadcast is only supported in V1 version

We recommend using V1 version as some of the messaging functionalities are only supported in V1 such as sending broadcasts to a list of users.


Vendor config for V1 version:

Add Service Account Key json file. You'll get this file from your Firebase Console Project settings -> "Service accounts" tab


Vendor config for Legacy version:

Enter the API key and Sender ID. You'll get both these informations from Cloud Messaging tab of the Firebase console Settings pane

Form FieldDescription
API KeyAPI key is your app server key which authorizes your app server to send push notifications. SuprSend uses this API key to send push notification in your app on your behalf
Sender IDThe sender ID is used to identify each sender that can send messages to the client app. SuprSend uses this information to send push notification on your behalf to your app