passPushToken
Deprecated
FCM has deprecated the registration token. This API stops working when FCM removes the legacy token support, or it will be removed in MoEngage-Android-SDK version 16.00.00. Use passInstallationId() instead.
Replace with
passInstallationId(context, installationId)Content copied to clipboard
Helper API to pass the push token to the MoEngage platform.
Since
10.3.00
Parameters
context
instance of Context
token
Generated Push Token.
Throws
if the SDK is not initialized.
Deprecated
FCM has deprecated the registration token. This API stops working when FCM removes the legacy token support, or it will be removed in MoEngage-Android-SDK version 16.00.00. Use passInstallationId() instead.
Replace with
passInstallationId(context, installationId, workspaceId)Content copied to clipboard
Helper API to pass the push token to the MoEngage platform.
Since
10.3.00
Parameters
context
instance of Context
token
Generated Push Token.
appId
Account identifier, APP ID on the MoEngage Dashboard.
Throws
if the SDK is not initialized.