Integration Steps
1
Create Firebase project in firebase console
To start sending notifications from FCM, you’ll have to first create a firebase project. Create firebase project and application in firebase console with your applications package name which you can find in
MainApplication.java or AndroidManifest.xml2
Adding google-services.json
You can get your Service Account JSON by following these instructions. Download google-services.json and add the file inside your android>app folder.

3
Adding Firebase dependencies and plugins
Add below dependency inside projects build.gradle inside dependenciesAdd below plugin inside apps build.gradleAdd below dependency inside apps build.gradle inside dependencies
4
Implementing push
Push feature can be implemented in two ways:
Token Generation and Notification handled By SDK [Recommended]
Token Generation and Notification handled By SDK [Recommended]
You may use this option if all of your android push notifications are to be handled via SuprSend SDK. We recommend you to use this method as it is just a single step process to just register the service in your application manifest and everything else will be ready.
Token Generation and Notification handled By Your Application
Token Generation and Notification handled By Your Application
Since your service is registered in the app manifest, to render the push notification directed from SuprSend server you will have to add the below code to your service.
5
Sending the FCM token to SuprSend