Giter Club home page Giter Club logo

Comments (9)

KishPatel1996 avatar KishPatel1996 commented on August 16, 2024 1

Hi @naoufal . I forgot to link the binary file.

Now, I am running into an error that says TouchID.isSupported is not a function. I solved this by var TouchID = require('react-native-touch-id').default. Not sure if this was the intention. If so, I believe it should be reflected in the docs.

Thanks for the great library.

from react-native-touch-id.

Daredevll avatar Daredevll commented on August 16, 2024 1

Having the "Cannot read property 'authenticate' of undefined" with version 3.1.0

from react-native-touch-id.

naoufal avatar naoufal commented on August 16, 2024

@KishPatel1996 What version of React Native are you running?

from react-native-touch-id.

KishPatel1996 avatar KishPatel1996 commented on August 16, 2024

@naoufal 0.26.3

from react-native-touch-id.

naoufal avatar naoufal commented on August 16, 2024

@KishPatel1996 I just shipped 2.0.1 to npm with support for 0.28.0 which should cover 0.26.0 as well. Can you try with that? Can you also confirm that you've linked the library?

from react-native-touch-id.

naoufal avatar naoufal commented on August 16, 2024

@KishPatel1996 Going to close this issue. Let me know if you still have issues after updating and I'll gladly open it again.

from react-native-touch-id.

Taylor123 avatar Taylor123 commented on August 16, 2024

I'm seeing the same thing on version 4.0.1. Looks like NativeModules.TouchID is not getting imported properly.

@Daredevll you find a quick fix?

Edit: It does not look my version of react-native has TouchID within the NativeModules object.

react native: 0.45.1

from react-native-touch-id.

kr1shnadas avatar kr1shnadas commented on August 16, 2024

Having the "Cannot read property 'authenticate' of undefined" with version 3.1.0

having the same issue on Samsung Edge devices. All other devices are working fine.

from react-native-touch-id.

skarsad04 avatar skarsad04 commented on August 16, 2024

Currently, if anyone is developing app for both mobile and web, then it is showing error while using TouchID at compile time itself. However TouchID will not work on web.
So, if you create TouchID.web.js and export empty will solve the problem.
Please let me know if it is possible to add?

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.