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

Self-verification: Fix compatibility with Element-Web #4220

Merged
merged 5 commits into from
Apr 15, 2021

Conversation

manuroe
Copy link
Member

@manuroe manuroe commented Apr 14, 2021

Fix #4217

The change is similar as for EA: element-hq/element-android#3140. We had the same failures as android.

It just makes the flow work. UX and even wording need more work but we need to fix all platform.

Tests in both direction

  • 👍 iOS vs web with small account. Known issue: the QR option is not proposed on iOS
  • 👍 iOS vs android
  • 👍 👎 iOS vs web with my real account: verification works but secrets cannot be shared - this is not a new issue.

manuroe added 2 commits April 14, 2021 17:21
… on iOS

#4217

Just after login, send request instead of waiting for an incoming one as per recent EW changes
… on web

#4217

If web triggers a verification request (because the users clicked on "Use another login"), remove the newSignIn alert dialog before display the incoming verification request.
@manuroe
Copy link
Member Author

manuroe commented Apr 15, 2021

New sign-in from iOS:

signinFromIOS2.mov

@manuroe
Copy link
Member Author

manuroe commented Apr 15, 2021

New sign-in from web:

signinFromWeb.mov

@manuroe manuroe marked this pull request as ready for review April 15, 2021 13:06
@@ -3955,7 +3975,7 @@ - (void)presentNewKeyVerificationRequestAlertForSession:(MXSession*)session
}
};


/// ooo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To update or remove ?

@@ -4093,6 +4113,7 @@ - (void)presentNewSignInAlertForDevice:(MXDevice*)device inSession:(MXSession*)s

[self presentViewController:alert animated:YES completion:nil];

//// ooo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To update or remove ?

@manuroe manuroe merged commit f0ba3e9 into develop Apr 15, 2021
@manuroe manuroe deleted the manu/4217_verification_as_per_web branch April 15, 2021 13:57
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.

Fix device verification with Element-Web
2 participants