From fa55499384fae7e8ebcc0177f7f6d9502da02ed7 Mon Sep 17 00:00:00 2001 From: Paul Beusterien Date: Wed, 14 Aug 2024 16:53:43 -0700 Subject: [PATCH] Update config for GSI v7 --- FirebaseGoogleAuthUI.podspec | 2 +- FirebaseGoogleAuthUI/Sources/FUIGoogleAuth.m | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/FirebaseGoogleAuthUI.podspec b/FirebaseGoogleAuthUI.podspec index b94c5e7601..68e39dd469 100644 --- a/FirebaseGoogleAuthUI.podspec +++ b/FirebaseGoogleAuthUI.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'FirebaseGoogleAuthUI' - s.version = '14.2.0' + s.version = '14.2.2' s.summary = 'Google authentication for FirebaseAuthUI.' s.homepage = 'https://github.com/firebase/FirebaseUI-iOS' s.license = { :type => 'Apache 2.0', :file => 'LICENSE' } diff --git a/FirebaseGoogleAuthUI/Sources/FUIGoogleAuth.m b/FirebaseGoogleAuthUI/Sources/FUIGoogleAuth.m index d7670fba23..1f28fdc4a5 100644 --- a/FirebaseGoogleAuthUI/Sources/FUIGoogleAuth.m +++ b/FirebaseGoogleAuthUI/Sources/FUIGoogleAuth.m @@ -193,6 +193,8 @@ - (void)signInWithDefaultValue:(nullable NSString *)defaultValue } }; + signIn.configuration = [[GIDConfiguration alloc] initWithClientID:clientID]; + [signIn signInWithPresentingViewController:presentingViewController hint:defaultValue completion:^(GIDSignInResult * _Nullable signInResult, NSError * _Nullable error) { [self handleSignInWithUser:signInResult.user