Firebase Cloud Messaging (FCM) is a service that can be used by SAP Mobile Platform Server or any other entity to send a push notification to a specific device.
Procedure
For information about FCM, seehttps://firebase.google.com/docs/cloud-messaging/ .
Open the Firebase Developer Console: https://console.firebase.google.com/ .
Select Add Project .
Enter a project name, then select Create Project .
Select Add Firebase to your Android app , fill in the required "Package name" field, as well as any optional fields, then select Register App .
Note
The package name entered must match the package name of your Cordova Kapsel or SAP Fiori application. If the names are mismatched, FCM can't push messages to the app. If you create multiple package names, you must create one application per package name and register each one via the FCM console.
Download the google-services.json file and move it into your Android app module root directory, then select Continue .
To add the Firebase SDK, follow the steps to modify your build-gradle files, then select Finish .
From the Overview page, select the context menu located to the right of the application name, then select Settings .
From the Settings page, under "Your apps", download the google-services.json file and copy it to your project's root directory.