launchAccountRecovery
Function that Initializes the SDK bypassing LockCorruptedStateException and attempting to recover Accounts.
Parameters
the instance of your android Application class.
the SDKConfiguration instance.
to get notified about the success or failure of this recovery operation.
Throws
Indicates that the SDK was found to be initialized with an invalid combination of lock configuration type or unlock duration.
if sdkConfiguration uses setInvalidatedByBiometricChange(true) and no supported biometrics are available on the device, or LockConfigurationType.NONE is used.
if setInvalidatedByBiometricChange(false) with LockConfigurationType.BIOMETRICS_OR_DEVICE_CREDENTIALS and the device has no biometrics or lock credentials are available.
if the SDK is unable to create the necessary cryptographic components.
if the SDK is already initialized.
if the SDK cannot be recovered via account recovery
if the SDK account recovery has failed 5 times or more.