onMessageReceived
Use this method in the onMessageReceived
of your class which extends FirebaseMessagingService
to allow the RainbowSdk to manage new message received.
Parameters
data
Mapmessage.getData()
listener
IMessageReceivedListener a callback to know if application start is needed before handling the message.