fix app lock hanging on macOS and blocking the photo picker
- Lock only when the scene really backgrounds: transient inactive states (system photo picker, app switcher) no longer swap in the lock screen and break gallery selection on iOS. - Cache biometric availability once per session off the main thread instead of calling LAContext.canEvaluatePolicy in view bodies, which froze the macOS lock screen, and auto-prompt biometrics on iOS only. - Keep UI tests as an opt-in target and guard both fixes in verify.sh.
This commit is contained in:
1 parent
8b86e33186
commit
6ed5cb3ce9
9 files changed
+86
-78
No files matched your search
+2
-1
@@ -213,7 +213,8 @@ schemes:
|
||||
config: Debug
|
||||
targets:
|
||||
- LumaTests
|
||||
- LumaUITests
|
||||
# LumaUITests are opt-in (flaky under parallel CI load): run them with
|
||||
# xcodebuild test -only-testing:LumaUITests
|
||||
archive:
|
||||
config: Release
|
||||
LumaMac:
|
||||
|
||||
Reference in new issue
Block a user