Google-signin: Support latest GoogleSignIn ios SDK

Created on 16 Aug 2019  路  7Comments  路  Source: react-native-google-signin/google-signin

Issue

The GoogleSignIn Podfile was upgraded to 5.0.0 recently, which appears to have renamed (or deleted?) a few things. Attempting to compile [email protected] against this version results in the following error:

.../node_modules/react-native-google-signin/ios/RNGoogleSignin/RNGoogleSignin.h:11:74: Cannot find protocol declaration for 'GIDSignInUIDelegate'; did you mean 'GIDSignInDelegate'?

Environment

iOS

馃敠 Help Wanted

Most helpful comment

For people who landed here and don't want to update react-native-google-signin you can head to your podfile and force GoogleSignIn to use the older version for now

pod 'GoogleSignIn', '4.4.0'

and run a pod update

All 7 comments

are u fix that?

same problem!

Possible to find a documentation, to what has changed?

here's the changelog https://developers.google.com/identity/sign-in/ios/release

if someone wants to migrate the apis to v5, feel free to contribute! Thanks.

For people who landed here and don't want to update react-native-google-signin you can head to your podfile and force GoogleSignIn to use the older version for now

pod 'GoogleSignIn', '4.4.0'

and run a pod update

done in v3

if someone encounters the error, removing the ios/build folder, cleaning the project and removing derived data should help

Was this page helpful?
0 / 5 - 0 ratings