Giter Club home page Giter Club logo

Comments (9)

kkarmalkar avatar kkarmalkar commented on August 16, 2024 5

I am getting undefined is not an object (evaluating 'NativeTouchID.isSupported') for above code on iPhone. Please let us know in which version is fixed and when it is available to download??

from react-native-touch-id.

zibs avatar zibs commented on August 16, 2024 1

This fix has now been merged into master and will be released in the next release.

from react-native-touch-id.

jzhw0130 avatar jzhw0130 commented on August 16, 2024

Same issue. on Samsung S6, Android 7.0

from react-native-touch-id.

jzhw0130 avatar jzhw0130 commented on August 16, 2024
  isSupported() {
    return false;
  }

Wrong code for Android. Please update as:

  isSupported() {
    return new Promise((resolve, reject) => {
        resolve(false);
    });
  },

from react-native-touch-id.

ShortyFR avatar ShortyFR commented on August 16, 2024

Getting the same Error on Android (OnePlus5) using version 4.0.0

from react-native-touch-id.

morgan-legal avatar morgan-legal commented on August 16, 2024

Same issue on iOS with version 4.0.0

from react-native-touch-id.

Taylor123 avatar Taylor123 commented on August 16, 2024

Has anyone found a fix for this? It seems to be a recurring issue #14

version: 4.0.1

EDIT:

Was able to get it working after rm -rf node_modules/ && yarn

If working on the simulator, ensure TouchID is enabled :)

from react-native-touch-id.

prigoose avatar prigoose commented on August 16, 2024

Having the same issue on a OnePlus 6t

from react-native-touch-id.

pke avatar pke commented on August 16, 2024

This is still happening on devices without any support for such capabilities (old Android).

https://github.com/naoufal/react-native-touch-id/blob/master/TouchID.android.js#L7

seems to return no promise, but undefined if isSupported(config) yields undefined.

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.