naoufal / react-native-touch-id

React Native authentication with the native Touch ID popup.

Home Page:https://www.npmjs.com/package/react-native-touch-id

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could not authenticate for an unknown reason

tscj3490 opened this issue · comments

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.

  • node_modules/@babel/runtime/helpers/construct.js:30:26 in _construct
  • node_modules/@babel/runtime/helpers/wrapNativeSuper.js:26:23 in Wrapper
  • ... 8 more stack frames from framework internals

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