EddyVerbruggen / cordova-plugin-touch-id

:nail_care: 👱‍♂️ Forget passwords, use a fingerprint scanner!
MIT License
214 stars 72 forks source link

Fallback password choice error code is -3 and not -2 #61

Open Muzietto opened 6 years ago

Muzietto commented 6 years ago

I am experimenting with the plugin on an iphoneX with faceID. When a wrong face is proposed and the used presses the "password fallback" button, the error message contains a code -3. Not a -2 as indicated in the plugin documentation.

I see the possibility that -2 is given in case of fingerprint authentication, while -3 is for faceID authentication. Please shed some light on this case.

EddyVerbruggen commented 6 years ago

I think you just did 🔦

Feel free to send a PR to update the docs accordingly 👍