Closed haavamoa closed 4 years ago
It looks like setDeviceCredentialAllowed
was only added in API-29, so unfortunately it's not going to be a great fallback. 😥
You will need to set your Compile using Android version: (Target Framework)
to Android 10.0 (Q)
and the method should be available. But you'll need to ensure you don't try to call it on earlier devices or it will crash.
I can not find the
setDeviceCredentialAllowed
method onBiometricPrompt.Builder
in order to leverage falling back to pin-code / password / pattern. In the android developer docs it says that we should use that to fall back (doc). I also see that it is deprecated andSetAllowedAuthenticators
will replace it. That might be why it's not added to Xamarin.Android yet?Hope to see this added as we need a nice fallback for our users.