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

AuthenticationInterface Protocol #578

Merged
merged 16 commits into from
Aug 5, 2019

Conversation

jleandroperez
Copy link
Contributor

@jleandroperez jleandroperez commented Jul 15, 2019

Details:

This PR implements SPAuthenticationInterface, which allows us to further customize the Authentication UI.

Plus a new public property, to be called *authenticationShouldBeEmbeddedInNavigationController, allows us to explicitly set if we want the SPAuthenticationInterface to live within a navigation stack.

Ref.: Simplenote's Nü Onboarding

cc @bummytime
Thanks in advance sir!!

Testing:

In order to test this PR, please, checkout this Simplenote PR.

  • Verify the Authentication UI shows up in portrait, even when the app launches with the simulator in landscape
  • Verify rotations in the Onboarding and Authentication UI(s) are disabled

@jleandroperez jleandroperez self-assigned this Jul 15, 2019
@jleandroperez jleandroperez modified the milestones: 0.8.22, 0.8.23 Aug 5, 2019
@jleandroperez jleandroperez changed the title [WIP] AuthenticationInterface Protocol AuthenticationInterface Protocol Aug 5, 2019
Copy link
Member

@bummytime bummytime left a comment

Choose a reason for hiding this comment

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

@jleandroperez I like the use of SPAuthenticationInterface in this PR!

Smoke tested the auth flows on iOS 10-13:
✅ Verify the Authentication UI shows up in portrait, even when the app launches with the simulator in landscape
✅ Verify rotations in the Onboarding and Authentication UI(s) are disabled
✅ iPad Onboarding and Authentication UI(s) flows did rotate (as expected)

Also, everything built fine on XCode 10 and 11 beta 5. :shipit:

@jleandroperez
Copy link
Contributor Author

Thanks for reviewing this Bummy!! 🔥

@jleandroperez jleandroperez merged commit 976f1f2 into develop Aug 5, 2019
@jleandroperez jleandroperez deleted the issue/authentication-interface-protocol branch August 5, 2019 18:26
@jleandroperez jleandroperez mentioned this pull request Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants