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

[NT-735] Sign in with Apple #1165

Merged
merged 14 commits into from
May 1, 2020
Merged

[NT-735] Sign in with Apple #1165

merged 14 commits into from
May 1, 2020

Conversation

Scollaco
Copy link
Contributor

@Scollaco Scollaco commented Apr 17, 2020

📲 What

Contains the PRs with the Sign In With Apple work
#1131 - Continue with Apple UI
#1152 - (1/2) Sign in with Apple mutation
#1158 - (2/2) Sign in with Apple
#1163 - Sign in with Apple event
#1168 - Add Loader to Login/Signup Page

⏰ TODO

  • Add Loading Indicator to the Sign up/Login screen (JIRA)

👋
GIF

@nativeksr
Copy link
Collaborator

1 Warning
⚠️ Big PR

Generated by 🚫 Danger

* Adding ProcessingViewPresenting

* Adding tests for isLoading behavior

* Revert code signing

* Adding voice over support

* Adding accessibility labels to the logos

* Automatic signing
@ifbarrera ifbarrera marked this pull request as ready for review April 28, 2020 14:43
@justinswart justinswart changed the title Feature sign in with apple [NT-735] Sign in with Apple Apr 30, 2020
Copy link
Contributor

@justinswart justinswart left a comment

Choose a reason for hiding this comment

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

I think we're good here! Just some minor (optional) suggestions.

if let error = self.signInWithAppleResult?.error {
return SignalProducer(error: error)
}
return SignalProducer(value: self.signInWithAppleResult?.value ?? SignInWithAppleEnvelope.template)
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't really think we should ever return defaults from these things 🤷‍♂️ but I know it's been done in a couple places.

@@ -0,0 +1,24 @@
import Foundation

public struct SignInWithAppleInput: GraphMutationInput {
Copy link
Contributor

Choose a reason for hiding this comment

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

If we conform SignInWithAppleInput to Encodable then we don't need the toInputDictionary() function below.

Copy link
Contributor

Choose a reason for hiding this comment

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

Done! Also noticed we were missing tests for this, so I added those too.

…feature-sign-in-with-apple

# Conflicts:
#	Kickstarter-iOS/Views/Controllers/PledgeViewController.swift
@ifbarrera ifbarrera merged commit f53920a into master May 1, 2020
@ifbarrera ifbarrera deleted the feature-sign-in-with-apple branch May 1, 2020 21:59
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.

None yet

4 participants