Hi, I have encountered an issue when I want fallback to pin, password or pattern if biometric is not available on the device.
This fork from 'local_auth' is not working on my Android tablet, so I dig into the source code of the 'androidx.biometric:biometric' package and found the method setDeviceCredentialAllowed() is not handled properly.
Couldn't agree more. Following this conversation. If the local_auth plugin doesn't evolve in right way, I hope that this fork can do that. I hope it can get on the native level of implementation soon.
Hi, I have encountered an issue when I want fallback to pin, password or pattern if biometric is not available on the device.
This fork from 'local_auth' is not working on my Android tablet, so I dig into the source code of the 'androidx.biometric:biometric' package and found the method setDeviceCredentialAllowed() is not handled properly.
Then I found on the Android developer website that they have fixed it in the new updates, please check the following link: https://developer.android.com/jetpack/androidx/releases/biometric#1.0.1
And I think now we need to use setAllowedAuthenticators() instead... https://developer.android.com/training/sign-in/biometric-auth#allow-fallback
I understand that the official 'local_auth' plugin does not even handle the non-biometric credentials, but can we still get this to work on this fork?
Thanks!