-
Notifications
You must be signed in to change notification settings - Fork 477
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
RCTTouchIDUnknownError - 100% of the time after certain criteria #60
Comments
i has same issue :( |
@Shinichi52 @ben-snaize If a user has failed to authenticate 3+ times with their Touch ID, iOS will disable Touch ID until the user has entered their passcode in again from the lock screen to re-enable touch ID. So that no matter how many times you call Do you think that this could be what's happening? |
@zibs no, I don't thing so. I have show passcode when Touch ID isn't support (i'm using https://github.com/naoufal/react-native-passcode-auth for passcode). But It works just fine until a particular point in production Apps. After which, authenticate() gives back RCTTouchIDUnknownError 100% of the time. |
I started experiencing the very same issue recently. However I've not yet understood what the clear pattern is here. |
Any update on this @naoufal? |
@ben-snaize Happy to take a look if you can provide a reproducible example. |
Based on the changes I made in this pr https://github.com/naoufal/react-native-touch-id/pull/78/files I figured that the error causing this behaviour is I'm not sure what is causing this error on the native layer, also there doesn't seem to be munch information around this error code. |
hi @davidgruebl , Can you please also add below error code : refer newly add errorcode from doc : developer.apple.com |
@nisguptaGit @naoufal @davidgruebl Would be great to have these new errors included as it will help to debug this issue. I'm currently holding off releasing the feature to our Apps as I can't resolve it currently. |
@ben-snaize i resolved my issue after changed to https://github.com/tradle/react-native-local-auth. it's working fine. |
I'm not sure if this still an issue or not, so closing unless otherwise! |
after a few failed attempts, the iphone prompts you to enter your password. this affects touchid entirely. even when unlocking the phone, he could not determine the fingerprint until I entered the password. I'm not sure if this is your problem, but the symptoms are similar. |
Hi,
I've implemented the following rough structure which fires before allowing access to stored login API credentials.
It works just fine until a particular point in production Apps. After which,
authenticate()
gives backRCTTouchIDUnknownError
100% of the time. I can happily useisSupported()
to attempt to prompt the user and re-enable Touch ID, but it still refuses to show the Touch ID dialogue.Are there any known issues with this, or any particular reasons why Touch ID would be failing with an 'unknown' error?
Sorry for any vagueness here but I'm at a point where there's no further info available to me. The application's state is correct as I would expect the Touch ID call to fire at this point, but the error is thrown instead.
The text was updated successfully, but these errors were encountered: