Skip to content
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

Closed
wants to merge 8 commits into from

Conversation

SjxSubham
Copy link

Issue #992

Tried to implement FaceID unlock to app Open

Copy link
Member

@tmolitor-stud-tu tmolitor-stud-tu left a 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",
Copy link
Member

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

Copy link
Member

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) {
Copy link
Member

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?

@tmolitor-stud-tu
Copy link
Member

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: git rebase -i upstream/develop (assuming you added the remote named "upstream" pointing to our github repo).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants