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
After debugging, I found out why my app isn't receving the deep links.
It's because of the fb code:
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options { BOOL handled = [[FBSDKApplicationDelegate sharedInstance] application:application openURL:url sourceApplication:options[UIApplicationOpenURLOptionsSourceApplicationKey] annotation:options[UIApplicationOpenURLOptionsAnnotationKey] ]; // Add any custom logic here. return handled; }
How do you suppose to combine these for the rn-linking code, since this is also required:
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation { return [RCTLinkingManager application:application openURL:url sourceApplication:sourceApplication annotation:annotation]; }
The text was updated successfully, but these errors were encountered:
What I did was used a if statement as follows:
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation { NSString * scheme = (NSString*)url.scheme; NSString * fbScheme = @"fb123456789"; if ([fbScheme isEqualToString:scheme]) { return [[FBSDKApplicationDelegate sharedInstance] application:application openURL:url sourceApplication:sourceApplication annotation:annotation]; } else { //Your other stuff here } }
Sorry, something went wrong.
Including linking, RN fbsdk, and RN google-signin:
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation { return [[FBSDKApplicationDelegate sharedInstance] application:application openURL:url sourceApplication:sourceApplication annotation:annotation ] || [RNGoogleSignin application:application openURL:url sourceApplication:sourceApplication annotation:annotation ] || [RCTLinkingManager application:application openURL:url sourceApplication:sourceApplication annotation:annotation ]; }
No branches or pull requests
After debugging, I found out why my app isn't receving the deep links.
It's because of the fb code:
How do you suppose to combine these for the rn-linking code, since this is also required:
The text was updated successfully, but these errors were encountered: