Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify Android Biometric Availability API #560

Open
kober32 opened this issue Oct 10, 2023 · 0 comments
Open

Simplify Android Biometric Availability API #560

kober32 opened this issue Oct 10, 2023 · 0 comments

Comments

@kober32
Copy link
Member

kober32 commented Oct 10, 2023

As of now, this issue is for broader discussion that should end in a more concrete task (based on discussion with @petrdvorak).

We commonly support our customers with questions about Android biometrics availability, which is fairly documented, but it's still a common issue.

Based on the feedback, the API could be further simplified. We could

  • add new API alá canSignNextRequestWithBiometrics that would wrap both system-level and PA level check
  • 1 more detail API with several properties (pseudocode):
class BiometricsStatus {
   // practically biometricsFactorPresentForSigning && sensorAvailableOnSytemLevel
   var canSignNextRequestWithBiometrics: Boolean

   var biometricsFactorPresentForSigning: Boolean
   var sensorAvailableOnSytemLevel: Boolean

   // more details about the system sensor
   var sensorDetailStatus: BiometricsSensorStatus // values like notEnrolled, notAvailable, ...
}

Current docs: https://developers.wultra.com/products/mobile-security-suite/2022-12/powerauth-mobile-sdk/PowerAuth-SDK-for-Android#check-biometric-authentication-status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants