diff --git a/app/recoveryWalletInfo.ts b/app/recoveryWalletInfo.ts index 92fe2cfb1..8f224ddeb 100644 --- a/app/recoveryWalletInfo.ts +++ b/app/recoveryWalletInfo.ts @@ -9,7 +9,8 @@ const options = (biometrics: Keychain.BIOMETRY_TYPE | null): Keychain.Options => accessible: Keychain.ACCESSIBLE.WHEN_UNLOCKED_THIS_DEVICE_ONLY, // for both authenticationType: Keychain.AUTHENTICATION_TYPE.DEVICE_PASSCODE_OR_BIOMETRICS, // for both rules: Keychain.SECURITY_RULES.NONE, // for both - securityLevel: Keychain.SECURITY_LEVEL.SECURE_HARDWARE, // for both + // with biometrics in the device -> SECURE HARDWARE + securityLevel: biometrics ? Keychain.SECURITY_LEVEL.SECURE_HARDWARE : Keychain.SECURITY_LEVEL.SECURE_SOFTWARE, // with biometrics in the device -> RSA storage: biometrics ? Keychain.STORAGE_TYPE.RSA : Keychain.STORAGE_TYPE.AES, } as Keychain.Options;