Comments (4)
I could be wrong, but I think this is baked into how iOS implements Touch ID.
You can reproduce this behaviour simply by trying to log into your phone with Touch ID. If you fail three times, then you have to re-enter your passcode before you can re-enable Touch ID.
It seems to me that if one fails to successfully authenticate after three attempts, iOS disables Touch ID support until the user has re-enabled it by entering in their passcode.
I'd love to know if you know any way around this, or have heard otherwise.
from react-native-touch-id.
@zibs that makes sense. I tried on another app (LastPass) and after failing to authenticate, it said I could reenable it from Settings, but I didn't see the option. This library does not seem to support re-enabling, would be a great feature. Again, not sure what support for this looks like on the native ios level
UPDATE (5 minutes later lol)
Ok so failing to authenticate in any single app disables touch for all other apps (and iphone itself). to reenable touch id, you need to enter PIN on iPhone unlock screen. This seems reasonable, we will just need to tweak our UI around this behaviour to make it clear to our users what happened and what they need to to do reenable it.
thanks!
from react-native-touch-id.
from react-native-touch-id.
@naoufal did you see the update to my comment? not seeing anything relevant in the docs or general google searching. here is the alert from lastpass:
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.