I'm using the Facebook SDK in my react-native app, and now I want to add support for universal deep linking as well.
I modified my appdelegate per the instructions here: https://developers.facebook.com/docs/ios/getting-started/
For deep linking, I'm trying to follow this: https://facebook.github.io/react-native/docs/linking.html
However, they both seem to use the same method, and I'm not sure how to reconcile:
````
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url
sourceApplication:(NSString *)sourceApplication annotation:(id)annotation
{
return [RCTLinkingManager application:application openURL:url
sourceApplication:sourceApplication annotation:annotation];
}
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation {
return [[FBSDKApplicationDelegate sharedInstance] application:application
openURL:url
sourceApplication:sourceApplication
annotation:annotation];
}
````
Please let me know how I should modify the method to have both capabilities.
Thank you