getConversationStatusFromNotification

Deprecated

This utility function will be removed in the next major release. The payload of a push notification is static and can be inconsistent with the current conversation state. It is recommended to use [ASAPP.onFirebaseMessageReceived] instead.

Replace with

ASAPP.instance.onFirebaseMessageReceived(message)

DEPRECATED. Please use ASAPP.conversationStatusHandler instead. For more details, please see https://docs.asapp.com/en/integration/android-sdk/push-notifications.html

Used for getting the ASAPPConversationStatus from a push notification.

Return

The ASAPPConversationStatus in the payload.

Parameters

remoteMessage

The push notification payload received.