1/19
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
What is biometric authentication?
Verifying identity using unique physical or behavioral characteristics
What API does Android provide for biometric authentication?
BiometricPrompt API
Name three biometric types supported by Android?
Fingerprint, Face, Iris
What are the three biometric security levels in Android?
Strong, Weak, Device Credential
What class check biometric hardware availbility in Android?
BiometricManager
What are the permissions needed for biometric use?
USE_BIOMETRIC and USE_FINGERPRINT
How do you check if biometrics are supported on a device?
Use biometricManager.canAuthenticate()
What does BiometricPrompt.AuthenticationCallback handle?
Success, failure, and error events during authentication
What is BiometricPrompt.PromptInfo.Builder() used for?
To configure the authentication prompt dialog
In Compose, how can you trigger biometric auth in the UI?
Use a Button that calls biometricPrompt.authenticate(…)
What is a fallback mechanism in biometric auth?
Using a PIN or password if biometrics fail or are unavailable
Should biometric data be stored on the device?
No. Always use BiometricPrompt to handle it securely
How can biometricPrompt be customized?
Change title, subtitle, description, and negative button text
Can you use multiple biometric types in Android?
Yes, fingerprint and face recognition can both be supported
What is biometricPrompt.CryptoObject used for?
To handle encrypted data authentication with biometrics
What should you do if no biometric data is enrolled?
Prompt the user to enroll via system settings
What causes consistent biometric failures?
Dirty sensor, improper enrollment, or hardware issues
How do you avoid blocking UI during authentication?
Run BiometricPrompt on ContextCompat.getMainExecutor()
How to use biometric authentication with Firebase?
Trigger Firebase logic after biometric successH
How is biometric auth used for encrypted data?
Use BiometricPrompt with a CryptoObject to decrypt