SwiftPasscodeLock icon indicating copy to clipboard operation
SwiftPasscodeLock copied to clipboard

cancelable TouchId prompt when restoring the app from background

Open younanjo opened this issue 8 years ago • 2 comments

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?

younanjo avatar Jun 23 '16 10:06 younanjo

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.

ziogaschr avatar Jun 23 '16 15:06 ziogaschr

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

aalfath avatar Jul 02 '16 16:07 aalfath