-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Biometric -face login for android is not working #274
Comments
I'm having the same issue, and making these changes fixed it for me. Thank you! |
it's work ! |
why it not working in all android phone ? |
I am using this code still it is not working |
Hi Team,
I have integrated this latest package in my RN project.
Simple prompt for android Face biometric is not working even pop up dost not show anymore.
I have tested in my android device SamsungS 20FE which have finger print + face scan logging.
I have registered myself for both type biometric still login prompt coming for only finger print.
I have made some changes inside the file after that face id is working fine.
node_modules/react-native-biometrics/android/src/main/java/com/rnbiometrics/ReactNativeBiometrics.java
I have made changes and converted as weak.
private int getAllowedAuthenticators(boolean allowDeviceCredentials) {
if (allowDeviceCredentials && !isCurrentSDK29OrEarlier()) {
return BiometricManager.Authenticators.BIOMETRIC_WEAK | BiometricManager.Authenticators.DEVICE_CREDENTIAL;
}
return BiometricManager.Authenticators.BIOMETRIC_WEAK;
}
Can you please make it available in next version.
The text was updated successfully, but these errors were encountered: