BiometricPrompt iris and face prompt is not working with Crypto object authentication. #AndroidX

前端 未结 1 1490
清酒与你
清酒与你 2020-12-31 14:50

Issue

  • Biometric authentication iris and face-detection is not prompting with biometricPrompt.authenticate(**crypto**, promptInfo)
相关标签:
1条回答
  • 2020-12-31 15:14

    Some devices only have one form factor, some have many form factors. Which form factor your app ends up using isn't really up to you; it's up to the OEM implementation. As explained in this blog post, whether a form factor is Strong or Weak doesn't depend on your code -- the OEM decides. However, you can request that a device uses Strong authentication for your app by specifying a CryptoObject when you call authenticate().

    What you are experiencing is that the OEMs of your devices decided to make Fingerprint the default for Strong biometrics. Therefore, when you pass in a CryptoObject to authenticate() those devices show the user the UI for Fingerprint.

    0 讨论(0)
提交回复
热议问题