passPushToken

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.


fun passPushToken(context: Context, token: String, appId: String): MoETask<PushTokenResult>

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.