Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Conversation

@ScoutHarris
Copy link
Contributor

@ScoutHarris ScoutHarris commented Sep 4, 2019

Ref WPiOS issue: wordpress-mobile/WordPress-iOS#12434

The incorrect delegate method was being called with existing accounts. Now, if logging into an existing account, the sync method is called (instead of createdWordPressComAccount).

Can be tested with WPiOS PR: wordpress-mobile/WordPress-iOS#12471

Copy link
Contributor

@astralbodies astralbodies left a comment

Choose a reason for hiding this comment

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

Works perfect! :shipit:

@astralbodies astralbodies self-requested a review September 5, 2019 13:16
Copy link
Contributor

@astralbodies astralbodies left a comment

Choose a reason for hiding this comment

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

I realized after approving that there's still a case where this doesn't fix the problem. Follow these steps on an actual device and you'll see (it requires a real keychain, not the Simulator):

  1. User signs in with SIWA on this device or any other device. Either a dotcom account is created or it's connected to an existing one.
  2. Sign out of the iOS apps.
  3. Sign back into the iOS app.
  4. Apple Credentials do not include display name or e-mail address and the epilogue looks sad.

IMG_0012

@astralbodies
Copy link
Contributor

@Tug is making endpoint changes to return that information to be able to be pulled from the response to push into the UI.

@ScoutHarris ScoutHarris changed the base branch from fix/12442-siwa_error_alert to develop September 5, 2019 17:10
Copy link
Contributor

@astralbodies astralbodies left a comment

Choose a reason for hiding this comment

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

Captain Moron can't review a PR today, apparently. All good to go!

@ScoutHarris ScoutHarris merged commit 5f8dc90 into develop Sep 5, 2019
@ScoutHarris ScoutHarris deleted the fix/12434-siwa_epilogue_user_info branch September 27, 2019 18:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants