Comments (9)
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.
Having the "Cannot read property 'authenticate' of undefined" with version 3.1.0
from react-native-touch-id.
@KishPatel1996 What version of React Native are you running?
from react-native-touch-id.
@naoufal 0.26.3
from react-native-touch-id.
@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.
@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.
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.
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.
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)
- Is there a way to save the Touch ID string to Keystore?
- lost text,messages
- how to check touch id inside screen HOT 1
- Is it valid for expo? HOT 1
- TypeError: Cannot read property 'isSupported' of undefined HOT 5
- Do not use this library in sensitive applications HOT 2
- can't seem to get the error of unmatched finger print
- Android Face ID never working. HOT 5
- Hide dialog window on android if native dialog is opening
- Compile time error in react-native-web-app HOT 1
- Is this package still going to be maintained HOT 5
- Increase the number of authentication attempts to 4 or 5 times instead of 2 (IOS)
- passcodeFallback related issue HOT 2
- How To Detecting FaceID/TouchID Were Have Changed
- IS this package being maintained now? HOT 2
- How to get the number of fingerprint registrations?
- Error : LAErrorAuthenticationFailed Authentication could not start because Touch ID has no enrolled fingers.
- Reac-native-touch-id doesn't recognize faceid in android 10 and above. HOT 2
- Support new React Native new architecture (TurboModules/Fabric) HOT 1
- How can i change touch id modal UI HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-touch-id.