isDuplicateMessage

fun isDuplicateMessage(remoteMessage: Any): Boolean

When you received message you can call this and can figure out whether this message is duplicated.

Return

true if it was already sent.

Parameters

remoteMessage

received FCM/HMS message