lo-cafe / winston

A beautiful and native Reddit client for iOS
https://winston.cafe/
GNU General Public License v3.0
700 stars 55 forks source link

[BUG] FaceID only auths at App Launch and not when brought to forefront #316

Closed NelsonDane closed 6 months ago

NelsonDane commented 7 months ago

Describe the bug When Lock Winston with FaceID is enabled, the app only prompts for FaceID when it is started fresh. However, when the app is moved to the foreground from memory it immediately unblurs without prompting for FaceID.

To Reproduce Steps to reproduce the behavior:

  1. Enable Lock Winston with FaceID
  2. Quit the app (Kill in app switcher)
  3. Winston should be blurred and prompt for FaceID unlock
  4. Swipe up to close.
  5. Winston should blur, but then immediately unblur without prompt for FaceID (The issue)

Expected behavior When Lock Winston with FaceID is enabled it should blur the screen and prompt for FaceID whenever Winston is brought to the foreground, whether the app was quit previously or not.

Screenshots If applicable, add screenshots or screen recordings to help explain your problem.

Winston (please complete the following information):

Device (please complete the following information):

Additional context Add any other context about the problem here.

ejbills commented 6 months ago

https://github.com/lo-cafe/winston/pull/369