Giter Club home page Giter Club logo

Comments (12)

Shinichi52 avatar Shinichi52 commented on August 16, 2024

i has same issue :(

from react-native-touch-id.

zibs avatar zibs commented on August 16, 2024

@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 authenticate it will not prompt the dialog until the Touch ID has been re-enabled by the user.

Do you think that this could be what's happening?

from react-native-touch-id.

Shinichi52 avatar Shinichi52 commented on August 16, 2024

@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.

from react-native-touch-id.

davidgruebl avatar davidgruebl commented on August 16, 2024

I started experiencing the very same issue recently. However I've not yet understood what the clear pattern is here.
This only seems to occur on device and even before the native touch id modal is shown.

from react-native-touch-id.

ben-snaize avatar ben-snaize commented on August 16, 2024

Any update on this @naoufal?

from react-native-touch-id.

naoufal avatar naoufal commented on August 16, 2024

@ben-snaize Happy to take a look if you can provide a reproducible example.

from react-native-touch-id.

davidgruebl avatar davidgruebl commented on August 16, 2024

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 LAErrorNotInteractive

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.

from react-native-touch-id.

nisguptaGit avatar nisguptaGit commented on August 16, 2024

hi @davidgruebl ,

Can you please also add below error code :
LAErrorBiometryLockout
LAErrorBiometryNotAvailable
LAErrorBiometryNotEnrolled

refer newly add errorcode from doc : developer.apple.com
image

from react-native-touch-id.

ben-snaize avatar ben-snaize commented on August 16, 2024

@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.

from react-native-touch-id.

Shinichi52 avatar Shinichi52 commented on August 16, 2024

@ben-snaize i resolved my issue after changed to https://github.com/tradle/react-native-local-auth. it's working fine.

from react-native-touch-id.

zibs avatar zibs commented on August 16, 2024

I'm not sure if this still an issue or not, so closing unless otherwise!

from react-native-touch-id.

tegozen avatar tegozen commented on August 16, 2024

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.

from react-native-touch-id.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.