Open ManojAhirwar opened 5 months ago
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.
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 ?
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.