passPushToken

fun passPushToken(@NonNull context: Context, @NonNull pushToken: String)

Helper API to pass the push token to the MoEngage platform for the account configured as default.

Since

2.0.00

Parameters

context

instance of Context

pushToken

Generated Push Token.


fun passPushToken(@NonNull context: Context, @NonNull pushToken: String, @NonNull appId: String)

Helper API to pass the push token to the MoEngage platform for the given account.

Since

5.0.0

Parameters

context

instance of Context

pushToken

Generated Push Token.

appId

Account identifier, APP ID on the MoEngage Dashboard.