getInstallationId

@WorkerThread
fun getInstallationId(context: Context, workspaceId: String? = null): String?

Get saved Firebase Installation Id(if any) for the account configured as default.

Return

Saved installation id, else null

Since

9.3.0

Parameters

context

Instance of Context

workspaceId

Account identifier, Workspace ID on the MoEngage Dashboard.

Throws

if the SDK is not initialized.