Comments (11)
I am testing this on an iPhone 6S, iOS 9. The AllowReuse = false flag in the beta release solved it for me. Thanks.
from xamarin-fingerprint.
I have noticed this behavior, too. I think iOS is caching the authentication for a while. I haven't found anything on the specification, yet. I'll try to throw the LAContext away everytime. If it solves the problem, I will fix it.
from xamarin-fingerprint.
I am experiencing this behavior as well. I found this article that may help. Specifically in the "Touch ID Enhancements" section, it mentions a new property in iOS 9 on the LAContext called touchIDAuthenticationAllowableReuseDuration.
from xamarin-fingerprint.
Hey touchIDAuthenticationAllowableReuseDuration
does nothing for me
I tried throwing the context away and it worked. So I introduced CrossFingerprint.AllowReuse
for iOS. set it to false in your AppDelegate and the dialog should appear every time you try to authenticate.
Its available on nuget as beta package https://www.nuget.org/packages/Plugin.Fingerprint/1.1.1-beta
It would be nice, if you can test it and give some feedback. A iOS 8 real device test would be really cool, too
from xamarin-fingerprint.
Awesome, ill aim to test it in the morning , however unfortunately i don't have a iOS 8 device with me, but ill test that when i get to work on Monday morning 😁
Thanks for the quick fix 👍
from xamarin-fingerprint.
@teimaj did you test it?
from xamarin-fingerprint.
Sorry, i missed work most of last week due to illness, and when i got in i forgot to check. I'll make sure i do it at some point tomorrow morning.
I did realise that i don't have an iOS 8 device with Touch ID, i thought it was a iPhone 5S that i had, but it was an iPhone 5, so I'm not sure if i'll be able to put iOS 8 on a newer device.
from xamarin-fingerprint.
Just tested and the flag worked, however i'm unable to test on iOS 8 as i still don't have a device with it on, sorry
from xamarin-fingerprint.
Ok, the only question now is, if I should use this as default setting. I didn't experience a automatic invalidation, yet.
from xamarin-fingerprint.
I would set this as a default setting, as it appears that most applications that use Touch ID always ask for your fingerprint regardless of time in-between each validation.
from xamarin-fingerprint.
- Made it the default behavior
- removed the flag
- released 1.2.0
from xamarin-fingerprint.
Related Issues (20)
- On Android is Xamarin.AndroidX.Biometric required? HOT 5
- [Question] How to allow alternative authentication on Face ID for iOS? HOT 2
- Authenticate in WebAPI HOT 1
- How do you use biometric sensors? HOT 4
- Crash with 2.1.5 in UWP on checking availability, same code works with 2.1.5 on Android, and on all platforms with 2.1.4 HOT 4
- The Authenticate request fails with "UnknownError" if the app is completely unloaded on iOS HOT 2
- iOS crashes when AuthenticationRequestConfiguration reason is empty string. HOT 1
- CA1416 analyzer errors (This call site is reachable on...) for .NET MAUI version HOT 5
- 'CrossFingerprint' does not contain a definition for 'SetCurrentActivityResolver' HOT 1
- Plugin version 2.1.5 on Windows UWP reports "This functionality is not implemented in the portable version of this assembly" HOT 4
- Android Implementation allow to bypass the security HOT 7
- Facelock is not working for android HOT 7
- "Try Face ID Again" does nothing on click. HOT 1
- App hangs under iOS 16 Beta at startup HOT 1
- Allow possibility to disable face unlock on Android HOT 7
- Bitcode issue in the plugin when we submit to App Store. HOT 1
- LAStatus.SystemCancel does not return FingerprintAuthenticationResultStatus.Canceled HOT 2
- Failed resolution of: Landroidx/lifecycle/ViewModelProvider$KeyedFactory; HOT 2
- iOS vulnerable to biometric bypass via "objection" HOT 3
- App becomes unresponsive when using plugin.fingerprint on net8-pre5 HOT 3
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 xamarin-fingerprint.