Amar Maharjan
Amar Maharjan

Reputation: 220

How to determine which biometric to use while using in Biometric Prompt?

eg If user's phone has got both faceID as well as fingerprint.

Currently Biometric prompt is selecting one user has setup first

Upvotes: 5

Views: 4007

Answers (1)

Isai Damier
Isai Damier

Reputation: 984

This blog post, explains how the Biometric implementations distinguish between Strong vs Weak biometrics. It mentions that your code doesn't determine whether biometric is Strong or Weak -- rather the OEM implementation does. Nonetheless, you can decide whether your app always use Strong biometric authentication. And the way to do that is to pass in a CryptoObject when you call authenticate.

  • If you don't pass a CryptoObject, the system will choose for you.
  • If you pass a CryptoObect to authenticate() then the system will use the strong sensor for your app.

Beyond this, you the developer doesn't decide which form factor is used to authenticate your users.

P.S. You may also find the following blog post useful.

Upvotes: 6

Related Questions