I am using BiometricPrompt
in this way:
val biometricPrompt = BiometricPrompt.Builder(this)
.setNegativeButton("Cancel", executor, cancelListener)
.build()
biometricPrompt.authenticate(
getCancellationSignal(),
executor,
getAuthenticationCallback())
A user reported that their phone has multiple biometric sensors available (fingerprint, iris and face) and that the app automatically selected iris with no option to choose another. (In this case, the user preferred to use fingerprint.) I don't see anything in the BiometricPrompt API that suggests you can select a default sensor type.
Is there a way to set a preferred biometric sensor type?