-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
[Feature]: Implement FaceID to unlock the app on open #1020
Conversation
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.
You completely destroyed the old app delegate by overwriting it with a new one essentially doing nothing.
Face-Id to unlock the app should do exactly that: block the app UI until unlocked by face-id. It should not block all functions of the app indefinitely, nor should it block the app connecting in the background and fetching messages etc. while waiting for the faceid unlock.
We are transitioning away from UIKit and storyboards and all new UI should use SwiftUI --> please use SwiftUI for the UI
Your PR doesn't compile and throws a storyboard compilation error.
Please don't create an extra Controller
directory but add all your code files to the Classes
directory.
Please add all new files to the XCode project as well and make sure to add them to the correct target (Monal, not monalxmpp or NotificationServiceExtension etc.)
} | ||
func showBiometricsSettingsAlert(_ controller: UIViewController) { | ||
let alertController = UIAlertController( | ||
title: "Enable Face ID/Touch ID", |
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.
please mark these as translatable
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.
all user-facing text should be made translatable, I skip adding this comment to every of these texts to not clutter the review
|
||
private init() {} | ||
|
||
func storeLoginInfo(email: String, password: String) { |
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.
we don't have emails in xmpp, I guess you meant jid
?
6d3c4e4
to
9db05d1
Compare
We are using a rebase based workflow rather than a merge based and sometimes force-push something into one of the top commits. Please rebase this PR upon current develop and remove all commits not being yours by calling: |
951f346
to
f53ec86
Compare
3f9ec84
to
bcd67e8
Compare
Issue #992
Tried to implement FaceID unlock to app Open