enableSdk

fun enableSdk(context: Context)

API to enable SDK usage for the account configured as default.

Note: By default the SDK is enabled, this API should only be called if you have called disableSdk at some point.

Since

12.0.00

Parameters

context

instance of Context


fun enableSdk(context: Context, appId: String)

API to enable SDK usage for the given account.

Note: By default the SDK is enabled, this API should only be called if you have called disableSdk at some point.

Since

12.0.00

Parameters

context

instance of Context

appId

Account identifier, APP ID on the MoEngage Dashboard.