oblador / react-native-keychain

:key: Keychain Access for React Native
MIT License
3.12k stars 515 forks source link

iOS not showing the face id symbol when logging in #612

Closed skicson closed 9 months ago

skicson commented 9 months ago

My app was configured at least two years ago with this library but recently we noticed that the face id symbol no longer appears when logging in - in fact I can point the phone away from my face and it will still log in without an issue.

Also, if I go to settings->face id & passcode, and select the "Other Apps" I don't see my app listed.

I updated to the latest version of the library today, and still see the problem. I do have the NSFaceIDUsageDescription attribute set (and has been for years) but it still doesn't work.

Any suggestions or ideas to try?

Thanks

skicson commented 9 months ago

The problem was that the {accessControl:Keychain.ACCESS_CONTROL.BIOMETRY_ANY} key had gotten left out at some point.