unlock
Unlocks the app user's phone.
Initiates an unlock operation for the specified credential. Progress events are emitted to unlockStatus StateFlow. The operation continues even if the app goes to background.
Works offline if credentials are already cached. Requires the device to have the necessary hardware (Bluetooth, NFC, etc.) and permissions granted.
Parameters
credentialId
the credential ID to unlock.
timeout
the timeout for the unlock operation. If null, uses provider default.
Throws
if the SDK has not been initialized yet.
if the app user's phone has not been activated yet.
if the credential ID is not found.
if the credential has unresolved errors.