Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enter password give Authentication Failed #34

Open
eliprodigy opened this issue Mar 25, 2017 · 9 comments
Open

Enter password give Authentication Failed #34

eliprodigy opened this issue Mar 25, 2017 · 9 comments

Comments

@eliprodigy
Copy link

Hi, i'm using you example on iphone 6s 9.3.5 (deivce)
when i'm failed to enter with the touch ID and asking to enter password
i click enter password and instantly get message "Authentication Failed" before i do anything
can you please help me ?
thanks

@Evyraad
Copy link

Evyraad commented Apr 20, 2017

Maybe we have to use this?
https://github.com/naoufal/react-native-passcode-auth

@frangeris
Copy link

#46

@danny-does-stuff
Copy link

@eliprodigy according to the readme, when the user chooses the fallback method (enter password), the promise will fail with LAErrorUserFallback. Is it possible that you are not handling this case?

@zibs
Copy link
Collaborator

zibs commented Aug 19, 2017

@dannyharding10 I think you're right. @eliprodigy I think the issue is that unless you implement what @Iyoss recommends - hitting Enter Password is going to give the response code LAErrorUserFallback wherein you would then implement the alternative library for handling passcode auth: https://github.com/naoufal/react-native-passcode-auth

@frangeris
Copy link

frangeris commented Aug 19, 2017

@zibs what about using deviceOwnerAuthentication that support both, Touch ID and password, look here #46

@zibs
Copy link
Collaborator

zibs commented Aug 19, 2017

@frangeris We could ask @naoufal what he thinks. He's already built a separate library that handles this case specifically, which may be for the best. Alternatively, it could come bundled together, but I'm not sure what's the best scenario for this lib and the other lib.

If we are going to bundle them, we would also have to do that for the Android side of things when it comes as well.

@frangeris
Copy link

Good @zibs , I changed that line and works like a charm...

@naoufal
Copy link
Owner

naoufal commented Aug 19, 2017

@zibs In retrospect, it's probably best to consolidate them and pass a fallbackToPasscode boolean option.

@raazatul7
Copy link

raazatul7 commented Mar 22, 2020

It's not working, passcodeFallback: true but it doesn't do anything. Help!!
Edit: Actually it is not supported in android and in iOS, if you try 3-4 times with wrong touch/face id it will automatically ask for the passcode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants