buildNotificationPayload

abstract fun buildNotificationPayload(notification: Map<String, String>, notificationId: String): String

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())

notificationId

: The messageId from RemoteMessage (RemoteMessage.getMessageId())