Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Biometrics lock (Lock app with FaceID/TouchID/iOS Password) #2398
Biometrics lock (Lock app with FaceID/TouchID/iOS Password) #2398
Changes from 9 commits
1afab5a
a7564fb
1d757ca
c56f638
1335665
f85e6ae
9fd70fa
5850f35
ce1f140
96cdfac
fc15eac
b728292
fe07834
6ffe64c
2a9ddda
1f0b692
e051dd4
63c9c46
8c656d3
9f1a418
75982af
27cf8ac
97839c3
77e5077
27e2a63
2bc8f60
072af4e
6674456
eec44b0
5dbb72e
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 27 in Sources/App/Settings/Security/SecurityViewController.swift
Codecov / codecov/patch
Sources/App/Settings/Security/SecurityViewController.swift#L10-L27
Check warning on line 41 in Sources/App/Settings/SettingsRootDataSource.swift
Codecov / codecov/patch
Sources/App/Settings/SettingsRootDataSource.swift#L41
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how does this work on catalyst? should we hide it or make it available -- if the latter, how do we deal with e.g. the settings scene?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In catalyst it was a bit trickier, because of the "enter background/foreground" thats happens all the time even with the touchID dialog, I treated it with an extra logic to only reauthenticate when the user has reply enter background.
When the user open settings scene, the main web view scene locks again until the user unlocks it.
Screen.Recording.2023-11-16.at.16.33.08.mov
RPReplay_Final1700149090.MP4
Check warning on line 109 in Sources/App/Settings/SettingsRootDataSource.swift
Codecov / codecov/patch
Sources/App/Settings/SettingsRootDataSource.swift#L100-L109
Check warning on line 327 in Sources/App/WebView/WebViewController.swift
Codecov / codecov/patch
Sources/App/WebView/WebViewController.swift#L327
Check warning on line 350 in Sources/App/WebView/WebViewController.swift
Codecov / codecov/patch
Sources/App/WebView/WebViewController.swift#L350