velikanov / SwiftPasscodeLock

An iOS passcode lock with TouchID authentication written in Swift.
MIT License
199 stars 52 forks source link

cancelable TouchId prompt when restoring the app from background #38

Open younanjo opened 8 years ago

younanjo commented 8 years ago

Hi guys,

I have touchID prompt enabled, and when i put the app in background, and bring it back few seconds later, even though PasscodeLock is not yet triggered, i get this touchID prompt by iOS which you can press cancel to bypass! is there a way to stop it from happening?

ziogaschr commented 8 years ago

I was able to handle this by disabling the TouchID functionality from the configuration and handling it in our own subclass of CustomPasscodeLockPresenter (PR #27).

It will be wonderful to handle this in this library. For our case this isn't possible because of more checks that have to be done. Feel free to add a PR or I might do when I find the time.

aalfath commented 8 years ago

+1, I also have this problem. The Touch ID prompt window would still appear even though the deletePasscode() in repository has been called.