onMessageReceived
Callback which is triggered when a push payload is received. This method is responsible for creating the notification object and posting the notification.
Parameters
context
instance of Context
payload
push payload
Callback which is triggered when a push payload is received. This method is responsible for creating the notification object and posting the notification.
Parameters
context
instance of application Context
payloadMap
push payload.