naoufal / react-native-touch-id

React Native authentication with the native Touch ID popup.
https://www.npmjs.com/package/react-native-touch-id
1.47k stars 476 forks source link

Could not authenticate for an unknown reason #256

Open tscj3490 opened 5 years ago

tscj3490 commented 5 years ago

Initially, I could log in with my username and password and at the same time, once log in, I registered my credential by using Keychain.setGenericPassword. Next, I log out and once I log in again, I could log in with my credential by using Keychain.getGenericPassword.

I considered the case that other log in with his credential to same app. So other log in as same way. If new keychain is differ to old keychain, I set keychain again by using Keychain.resetGenericPassword() Then app showed below error. .... ... ... Could not authenticate for an unknown reason.

I couldn't know the reason.. Please help me... Thanks