I'm using BiometricPrompt from androidx.biometric:biometric:1.0.0-beta02 for the authenticate process. But i face very strange problem. First time i call biometricsPromt.authenticate() everything works fine, the library shows me the screen depending what security method is set(pattern,fingerprint, password and etc…) then the callback is called and everything is good. The problem is when i call biometricsPromt.authenticate() for the second time i got the error: E/DeviceCredentialHandler: onCreate: Executor and/or callback was null! I'm passing executor and callback of course -> they are not
In Android 10 devices, Biometric prompt is failing with ERROR_CANCELED all the time on top of lock screen
In Android 10 devices, Biometric prompt is failing with BiometricPrompt.ERROR_CANCELED all the time on top of the lock screen. Error is returned in onAuthenticationError callback of BiometricPrompt.AuthenticationCallback class. The biometric prompt authentication is working when the device is unlocked. is it possible to have biometric prompt authentication done on top of device lock screen in Android 10 when setDeviceCredentialAllowed is set to true? Update: The issue is only when setDeviceCredentialAllowed is set to true. i.e if Devicekeyguard is made as fallback in BiometricPrompt , the
I would like to integrate fingerprint in the authentication process for my project and then save and compare this fingerprint. I have tried integrate several pieces of code, but so far none have worked. How can I save and compare fingerprints in an Android app?