android / android/security-samples
Get Which Biometric is used for authentication on Onsucesscallback
- Dominant language
- Kotlin
- Stars
- 1k
- Forks
- 450
- PR merge metrics
- No merged PRs in 30d
Description
BiometricPrompt.AuthenticationResult only provide following value
AUTHENTICATION_RESULT_TYPE_UNKNOWN,
AUTHENTICATION_RESULT_TYPE_DEVICE_CREDENTIAL,
AUTHENTICATION_RESULT_TYPE_BIOMETRIC
But from AUTHENTICATION_RESULT_TYPE_BIOMETRIC cant identify whether face or finger print or iris.
Usecase : my application only support finger print. Since Fingerprint only in strong authentication(class 3) now i can use, but safer side when any of other (fingerprint , iris) meet class 3 specification in future i need to show error message on success scenario.
Contributor guide
Research direction
Start with the issue's description of BiometricPrompt.AuthenticationResult and its three result types. Determine whether the requested distinction between fingerprint, face, and iris is supported by the Android API or requires a sample change. Done should clarify how an application can enforce fingerprint-only authentication, or document that this cannot be determined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- authentication, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100