Coder Social home page Coder Social logo

Comments (11)

kspearrin avatar kspearrin commented on August 11, 2024 2

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.

smstuebe avatar smstuebe commented on August 11, 2024 1

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.

jgfaulk avatar jgfaulk commented on August 11, 2024

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.

smstuebe avatar smstuebe commented on August 11, 2024

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.

teimaj avatar teimaj commented on August 11, 2024

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.

smstuebe avatar smstuebe commented on August 11, 2024

@teimaj did you test it?

from xamarin-fingerprint.

teimaj avatar teimaj commented on August 11, 2024

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.

teimaj avatar teimaj commented on August 11, 2024

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.

smstuebe avatar smstuebe commented on August 11, 2024

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.

teimaj avatar teimaj commented on August 11, 2024

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.

smstuebe avatar smstuebe commented on August 11, 2024
  • Made it the default behavior
  • removed the flag
  • released 1.2.0

from xamarin-fingerprint.

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.