I run the react-native upgrade to fix the play store base 64 issue. Android is working fine the only issue I am facing with iOS. React native google sing in failed when run for the build.
I have run the following commands:
react-native-upgrade@0.59.1
rm -rf node_modules && npm i
Upgrade the google sdk 4.4.0 to 5.0.0 and
cd ios && pod install && cd ..
Here are errors:
1) No visible @interface for 'GIDSignIn' declares the selector 'signInSilently'
[[GIDSignIn sharedInstance] signInSilently];
2) No visible @interface for 'GIDSignIn' declares the selector 'hasAuthInKeychain'
RCT_REMAP_METHOD(isSignedIn,
resolver:(RCTPromiseResolveBlock)resolve
rejecter:(RCTPromiseRejectBlock)reject)
{
BOOL isSignedIn = [[GIDSignIn sharedInstance] hasAuthInKeychain];
resolve([NSNumber numberWithBool:isSignedIn]);
}
3) No visible @interface for 'GIDSignIn' declares the selector 'handleURL:sourceApplication:annotation:'
+ (BOOL)application:(UIApplication *)application openURL:(NSURL *)url
sourceApplication:(NSString *)sourceApplication annotation: (id)annotation {
return [[GIDSignIn sharedInstance] handleURL:url
sourceApplication:sourceApplication
annotation:annotation];
}
4) Use of undeclared identifier 'kGIDSignInErrorCodeNoSignInHandlersInstalled'
case kGIDSignInErrorCodeNoSignInHandlersInstalled:
Please let me know if anyone can help me with this...Thanks!