Android & Jetpack Compose (50 Qs)•Part 3: ART Internals, Memory Leak Profiling & Production Hardening (25 - 35)
How do you implement Biometric Authentication securely on Android with BiometricPrompt and Android Keystore?
senior LevelPerformanceMemory ManagementSecurity & Auth
In Simple Words:
Generate an asymmetric cryptographic key inside the hardware-backed Android Keystore requiring user authentication (setUserAuthenticationRequired(true)). Pass a CryptoObject to BiometricPrompt to authorize operations.