onMessageReceived

open fun onMessageReceived(data: Map<String, String>, listener: Push.IMessageReceivedListener)

Use this method in the `onMessageReceived` of your class which extends `FirebaseMessagingService` to allow the RainbowSdk to manage new message received.

Parameters

data

MapThe data message gettable by `message.getData()`

listener

IMessageReceivedListener a callback to know if application start is needed before handling the message.