hieuvp / react-native-fingerprint-scanner

Provide Fingerprint, Touch ID, and Face ID Scanner for React Native (Compatible with both Android and iOS)
https://www.npmjs.com/package/react-native-fingerprint-scanner
870 stars 298 forks source link

[Bug] Huawei face id not working #156

Open Yiangostr opened 3 years ago

Yiangostr commented 3 years ago

Hello, Im testing face id in Huawei P30 lite and its not working. Test case: If fingerprint is enable from the P30 then fingerprint its working, if fingerprint is disable and face id is enable, the app is not recognise as its biometric setting enable from the p30 as result not working in the app.

Already added to manifest! This only happens to Huawei smartphones! Any workaround?

Yiangostr commented 3 years ago

Update? @hieuvp

damjanvucina commented 3 years ago

Baki radi ti garant al moras u setingse stavit preferred biometrics na Face ID, evo ja taman fixa pa san nahajpan hohohohohhohoho.

Settings => Biometrics and Security => Biometrics Preferences => Set what you want to use. Hope you get it working. In case of Android, don't forget to invoke FingerprintScanner.release() upon a successful attempt, took me a while to figure out that one out