-
Notifications
You must be signed in to change notification settings - Fork 120
UL&S: Remove .startMagicLinkFlow segue #2201
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
UL&S: Remove .startMagicLinkFlow segue #2201
Conversation
Update WordPressUI version to match Authenticator's dependency
|
You can trigger an installable build for these changes by visiting CircleCI here. |
pmusolino
left a comment
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.
Thanks, Thuy! LGTM, I've just some observations, probably not strictly related to this PR.
Code ✅
Testing:
if 2fa is active, the magic link will ask for a 2fa code first. If the code is correct, then it will redirect you and reopen the WordPress app
This is my case. I used my Automattic email, but I wasn't able to use the magic link, I stumbled upon this issue wordpress-mobile/WordPressAuthenticator-iOS#39
I tried to use another account where 2FA is not enabled, and everything worked as expected.
Another thing, that is not related to this PR, but it's the first time that I notice it. I don't know why, but I'm unable to add my email address typing it with my physical keyboard. I've to use the virtual keyboard in the simulator. This is new to me, since before I always added my email address typing it using my MacBook Pro keyboard.
|
Thanks @pmusolino!
I haven't found a permanent fix to the simulator issue. I've deleted Xcode and all Sims and re-installed them. I've tried resetting the content in the sims. I've tried quitting the sims and restarting the app. No luck. |
TIL 👍 with another Gmail account, everything is OK 💯
It seems that this happens only in the login flow on an iPhone 11 Pro Max (iOS 13.4) in my case 😆 maybe because the UI is under another bundle? Anyway, don't worry about it 😉 it's an Apple bug. |
Forgot what I said, it's not only in the login flow 😄 now it happens also in other screens. It's the first time that I see this issue. I've only been lucky so far. |
Ref. #2003
This PR removes the segue
.startMagicLinkFlowthat sends a user to the "Send Magic Link?" screen. It now navigates the user programmatically.Main PR changes here: wordpress-mobile/WordPressAuthenticator-iOS#256
To test
rake dependenciesStep 7 Note: If 2fa is active for a non-Automattic account, the magic link will ask for a 2fa code first. If the code is correct, then it will redirect you and reopen the WordPress app. If your login is an Automattic email account, you will be blocked from sending magic links.
Do not merge until:
Update release notes:
RELEASE-NOTES.txtif necessary.