Open tushargoyalofficial opened 4 years ago
Yes, the issue persists. RN FBSDK v2.0.0 (latest) RN v0.61.5 issue: in iOS, open app or authenticate, coming back to our app, isCancelled: true, always. This is working fine in Android and iOS simulator (which do not have FB app).
// appdelegate.m
`- (BOOL)application:(UIApplication )application didFinishLaunchingWithOptions:(NSDictionary )launchOptions {
[[FBSDKApplicationDelegate sharedInstance] application:application didFinishLaunchingWithOptions:launchOptions]; // other logics
return YES;
(BOOL)application:(UIApplication )app openURL:(NSURL )url sourceApplication:(NSString )sourceApplication annotation:(id)annotation options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> )options {
if ([[FBSDKApplicationDelegate sharedInstance] application:app openURL:url options:options]) { return YES; }
BOOL handled = [[FBSDKApplicationDelegate sharedInstance] application:app openURL:url sourceApplication:sourceApplication annotation:annotation ];
if (handled) { return handled; }
// other logics
`
Did you find a solution?
same issue
Yes, the issue persists. RN FBSDK v2.0.0 (latest) RN v0.61.5 issue: in iOS, open app or authenticate, coming back to our app, isCancelled: true, always. This is working fine in Android and iOS simulator (which do not have FB app).
// appdelegate.m
`- (BOOL)application:(UIApplication )application didFinishLaunchingWithOptions:(NSDictionary )launchOptions {
[[FBSDKApplicationDelegate sharedInstance] application:application didFinishLaunchingWithOptions:launchOptions]; // other logics
return YES;
pragma mark Linking delegate methods
(BOOL)application:(UIApplication )app openURL:(NSURL )url sourceApplication:(NSString )sourceApplication annotation:(id)annotation options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> )options {
if ([[FBSDKApplicationDelegate sharedInstance] application:app openURL:url options:options]) { return YES; }
BOOL handled = [[FBSDKApplicationDelegate sharedInstance] application:app openURL:url sourceApplication:sourceApplication annotation:annotation ];
if (handled) { return handled; }
// other logics
`