Open despotes opened 1 year ago
https://github.com/SelfLender/react-native-biometrics/issues/125#issuecomment-1139705609 I don't know if that's a correct answer
same iss on oppo and samsung device, :((, what is your solution??
OEM ilke Huawei doesn't support face recognition in default biometric API like androidx.biometric. You have to use Huawei Fidokit and builld your own UI for that. Look at my example.
@despotes did you find any solution for this ?
Try this patch, working both face id and finger print
https://github.com/ZukaGap/react-native-biometrics-3.0.1/tree/main
@ZukaGap Hi, the patch is not working, getting [Error: Error displaying local biometric prompt: isRequiredConfirmation]. Has anybody found the solution?
@ZukaGap Hi, the patch is not working, getting [Error: Error displaying local biometric prompt: isRequiredConfirmation]. Has anybody found the solution?
I get the same error on a Xiaomi device
Hi, Unable to do face recognition on Samsung pixel or sony device does this library actually supports using facial recognition for android devices??
Hi @despotes , Have u gotten fix for the issue ??
Description
The FACE RECOGNITION is currently not functioning properly on two Android devices:
This feature was working correctly on the Samsung A42 5G device when using version 2.1.4 of the library, but not on Huawei device and we tried to update the library to 3.0.1
Now we are using:
When only enabling FACE RECOGNITION at the operating system level, the values of
available
andbiometryType
returned by theisSensorAvailable
method arefalse
andundefined
, respectively.Expected Behaviour
The FACE RECOGNITION feature should be functioning properly on both devices, with the available value being set to
true
and the biometryType being set to the correct type (e.g.biometrics
).Additional Context
Please note that the values of available and biometryType are correctly displayed when setting fingerprint recognition on the device. The problem occurs only if we set ONLY FACE RECOGNITION. This suggests that the issue is specific to the face recognition functionality.
Also, if we have both authentication methods set on our device, the library let use utilize only FINGERPRINT AUTHENTICATION.