biometricStrength property
Android The required biometric strength level.
- strong: Only Class 3 biometrics (e.g., fingerprint, in-screen fingerprint)
- weak: Class 2 biometrics allowed (e.g., face unlock without depth).
simplePromptis the only call that accepts them: a Class 2 biometric can never unlock a key. See BiometricStrength.weak.
Note: iOS/macOS always use strong biometrics. Windows Hello also uses strong. If strong biometrics are not available but weak are, and strength is set to strong, authentication will fail with BiometricError.notEnrolled.
Default: strong
Implementation
BiometricStrength? biometricStrength;