Skip to content

implement swift auth customization controllers #179

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

Merged
merged 1 commit into from
Oct 20, 2016

Conversation

yramanchuk
Copy link
Contributor

  • Please review FirebaseAuthUI customization for email IDP
  • Please pay attention to Swift code style (specially to FIRCustomAuthUIDelegate authUI(_ authUI: FIRAuthUI, didSignInWith user: FIRUser?, error: Error?) )

@yramanchuk yramanchuk added this to the 1.0.0 milestone Oct 20, 2016
Copy link
Contributor

@morganchen12 morganchen12 left a comment

Choose a reason for hiding this comment

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

Had one small comment, otherwise LGTM

}

override func viewWillDisappear(_ animated: Bool) {
super.viewWillDisappear(animated)
if let handle = self.authStateDidChangeHandle {
self.auth?.removeStateDidChangeListener(handle)
}

self.navigationController?.isToolbarHidden = true;
Copy link
Contributor

Choose a reason for hiding this comment

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

May want to move this to viewDidDisappear(_:) so that the toolbar doesn't vanish while the view is animating away, but it's a small detail

@morganchen12 morganchen12 merged commit bb824aa into v0.6.2 Oct 20, 2016
@yramanchuk yramanchuk deleted the swift-auth-customization branch October 21, 2016 22:30
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.

2 participants