Introduction
Last updated
Was this helpful?
Last updated
Was this helpful?
If your project is configured to send push notifications you must use this set of API to properly register your users' devices tor receive push notifications. Also, you'll need to have basic knowledge of Google Firebase and Firebase Cloud Messaging.
You must create a Firebase project for your application, this way you'll have the push server key to insert in your MBurger project
. This will generate a push API KEY.
To create a new Firebase project, please reference documentation.
For the FCM client setup refer to documentation. Long story short you'll need to extend a newFirebaseMessagingService
which will triggeronNewToken
to obtain the Firebase token which you'll need to send to the MBurger API andonMessageReceived,
an event triggered when a push message is received. Be aware that MBurger uses the "data" message types in order to permit the developers to completely customize notifications and behavior on receiving notifications (you'll find all about data messages )
After you have set up your project for Firebase you can start using Nooko SDK to register users receive FCM messages.