-
Notifications
You must be signed in to change notification settings - Fork 486
update FUIGoogleAuth for GoogleSignIn 6 #987
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
Conversation
| @brief Requests the scopes in the `scopes` array. | ||
| */ | ||
| - (void)requestScopesWithPresentingViewController:(UIViewController *)presentingViewController | ||
| completion:(FUIAuthProviderSignInCompletionBlock)completion; |
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.
@rosalyntan does this approach make sense?
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.
I think so -- so will the developer flow for this be to call signInWithDefaultValue first to authenticate, and then requestScopesWithPresentingViewController to request the appropriate scopes?
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.
Yes.
FirebaseGoogleAuthUI/Sources/Public/FirebaseGoogleAuthUI/FUIGoogleAuth.h
Outdated
Show resolved
Hide resolved
| @brief Requests the scopes in the `scopes` array. | ||
| */ | ||
| - (void)requestScopesWithPresentingViewController:(UIViewController *)presentingViewController | ||
| completion:(FUIAuthProviderSignInCompletionBlock)completion; |
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.
I think so -- so will the developer flow for this be to call signInWithDefaultValue first to authenticate, and then requestScopesWithPresentingViewController to request the appropriate scopes?
Fixes #951.