init

fun init(app: Application, keyguardPrompt: ((allow: Boolean, Exception?) -> Unit) -> Unit?, logger: (String) -> Unit, biometricAskPrompt: String = app.getString(R.string.embedded_export_biometric_prompt_title), allowedDomains: List<String>? = null)

Initialize and configure the Beyond Identity Embedded SDK.

Parameters

allowedDomains

Optional array of domains that we whitelist against for network operations. This will default to Beyond Identity's allowed domains.

biometricAskPrompt

A prompt the user will see when asked for biometrics while extending a passkey to another device.

keyguardPrompt

If no biometrics is set, this callback should launch the keyguard service and return the answer.

logger

Custom logger to get logs from the SDK.