We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, How do i fix this or declare the second method differently such that it still works.
It works if i remove code for Facebook SDK code, but i need both
Thanks.
The text was updated successfully, but these errors were encountered:
I would check first if facebooksdk return YES, otherwise return Google method
Sorry, something went wrong.
This is what I did:
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation { if( [url.absoluteString rangeOfString: @"com.googleusercontent.apps" ].location != NSNotFound ) { return [RNGoogleSignin application:application openURL:url sourceApplication:sourceApplication annotation:annotation]; } return [[FBSDKApplicationDelegate sharedInstance] application:application openURL:url sourceApplication:sourceApplication annotation:annotation]; }
So just check if the returned string contains google url, if not then continue to facebook
No branches or pull requests
Hi,
How do i fix this or declare the second method differently such that it still works.
It works if i remove code for Facebook SDK code, but i need both
Thanks.
The text was updated successfully, but these errors were encountered: