Firebase FCM
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:
Add FCM config on vendor page
On the SuprSend dashboard, follow the steps as below:
- Select Vendors from the left panel
- Select 'Android Push' as the channel from the list
- Select 'FCM' from the list of Vendors
- 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 Field | Description |
---|---|
API Key | API 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 ID | The 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 |
Updated almost 2 years ago