passInstallationId

fun passInstallationId(context: Context, installationId: String, workspaceId: String? = null): MoETask<FirebaseInstallationIdResult>

Helper API to pass a Firebase Installation Id to the MoEngage platform for the account configured as default.

Since

9.3.0

Parameters

context

instance of Context

installationId

Firebase Installation Id obtained by the app.

workspaceId

Account identifier, Workspace ID on the MoEngage Dashboard.

Throws

if the SDK is not initialized.