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

Face Id not working in Iphone 11 #199

Closed RonaldThayil closed 2 years ago

RonaldThayil commented 2 years ago

I tried in iPhone 10 and it is working fine but when I use iPhone 11 the app closes automatically.

mikehardy commented 2 years ago

Hi there! Any time the phrase "app crashes" is used in an issue report, it should be followed by the stack trace from native logs

RonaldThayil commented 2 years ago

I added this line "NSFaceIDUsageDescription

$(PRODUCT_NAME) requires FaceID access to allows you quick and secure access." in info.plist. After that, it works fine for me.
RonaldThayil commented 2 years ago

Solved the issue by changing in info.plist file

mikehardy commented 2 years ago

@RonaldThayil if there is something missing in the documentation (seems like there is? for install instructions on iOS?) you could hit the edit button on the README and quickly (using the github web UI, just takes a moment) propose a PR to improve it for everyone in the future