build Notification Payload
abstract fun buildNotificationPayload(notification: Map<String, String>, notificationId: String): String
Content copied to clipboard
Builds the payload from FCM notification. This payload needs to be supplied to Phone.processPushNotification as first parameter
Since
3.8.0
Parameters
notification
: The data obtained from RemoteMessage (RemoteMessage.getData())
notification Id
: The messageId from RemoteMessage (RemoteMessage.getMessageId())