title: react-native-fbsdk "login with facebook app" not firing callback
body: <p>I am implementing Facebook login in my React-Native app with the <code>react-native-fbsdk</code>. I can't figure out why the "Login with facebook app" is not working. When the user clicks this as opposed to entering their credentials in the web view, the <code>LoginManager</code> callback never seems to get fired.</p>
  
  <p>Here is a video of what happens: <a href="https://i.imgur.com/1XeJC1o.mp4" rel="nofollow noreferrer">https://i.imgur.com/1XeJC1o.mp4</a></p>
  
  <p>The issue seems like it may be <a href="https://developers.facebook.com/docs/react-native/faq#faq_1478842855464013" rel="nofollow noreferrer">this one</a> in the FAQ, but I believe I have my <code>AppDelegate.m</code> and <code>Info.plist</code> files set up correctly.</p>
  
  <pre class="lang-cc prettyprint-override"><code>#import "AppDelegate.h"
  #import &lt;React/RCTBundleURLProvider.h&gt;
  #import &lt;React/RCTRootView.h&gt;
  #import &lt;SentryReactNative/RNSentry.h&gt;
  #import &lt;GoogleMaps/GoogleMaps.h&gt;
  #import &lt;react-native-branch/RNBranch.h&gt;
  #import &lt;FBSDKCoreKit/FBSDKCoreKit.h&gt;
  #import &lt;RNGoogleSignin/RNGoogleSignin.h&gt;
  #import &lt;CodePush/CodePush.h&gt;
  #import &lt;AppCenterReactNativeCrashes/AppCenterReactNativeCrashes.h&gt;
  #import &lt;AppCenterReactNativeAnalytics/AppCenterReactNativeAnalytics.h&gt;
  #import &lt;AppCenterReactNative/AppCenterReactNative.h&gt;
  
  @implementation AppDelegate
  
  - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  {
    [RNBranch initSessionWithLaunchOptions:launchOptions isReferrable:YES];
  
    NSURL *jsCodeLocation;
  
    [AppCenterReactNativeCrashes registerWithAutomaticProcessing];  // Initialize AppCenter crashes
  
    [AppCenterReactNativeAnalytics registerWithInitiallyEnabled:true];  // Initialize AppCenter analytics
  
    [AppCenterReactNative register];  // Initialize AppCenter 
  
    [GMSServices provideAPIKey:@"myAPiKey"];
  
    [[FBSDKApplicationDelegate sharedInstance] application:application 
      didFinishLaunchingWithOptions:launchOptions];
  
    #ifdef DEBUG
      jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
    #else
      jsCodeLocation = [CodePush bundleURL];
    #endif
  
    RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation moduleName:@"downtown" initialProperties:nil launchOptions:launchOptions];
  
    [RNSentry installWithRootView:rootView];
  
    rootView.backgroundColor = [[UIColor alloc] initWithRed:0.02 green:0.02 blue:0.02 alpha:1];
  
    self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    UIViewController *rootViewController = [UIViewController new];
    rootViewController.view = rootView;
    self.window.rootViewController = rootViewController;
    [self.window makeKeyAndVisible];
    return YES;
  }
  
  - (BOOL)application:(UIApplication *)application
          openURL:(NSURL *)url 
          options:(NSDictionary&lt;UIApplicationOpenURLOptionsKey,id&gt; *)options
          sourceApplication:(NSString *)sourceApplication
          annotation:(id)annotation {
  
      BOOL handledBranch = [RNBranch.branch application:application openURL:url sourceApplication:sourceApplication annotation:annotation];
  
      BOOL handledFB = [[FBSDKApplicationDelegate sharedInstance] application:application openURL:url sourceApplication:sourceApplication annotation:annotation];
  
      BOOL handledGoog = [RNGoogleSignin application:application openURL:url sourceApplication:sourceApplication annotation:annotation];
  
      return handledBranch || handledFB || handledGoog;
  }
  
  - (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray *restorableObjects))restorationHandler {
      return [RNBranch continueUserActivity:userActivity];
  }
  
  @end
  </code></pre>
  
  <p>Info.plist:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
  &lt;plist version="1.0"&gt;
    &lt;dict&gt;
      &lt;key&gt;CFBundleDevelopmentRegion&lt;/key&gt;
      &lt;string&gt;en&lt;/string&gt;
      &lt;key&gt;CFBundleDisplayName&lt;/key&gt;
      &lt;string&gt;BarCard&lt;/string&gt;
      &lt;key&gt;CFBundleExecutable&lt;/key&gt;
      &lt;string&gt;$(EXECUTABLE_NAME)&lt;/string&gt;
      &lt;key&gt;CFBundleIdentifier&lt;/key&gt;
      &lt;string&gt;$(PRODUCT_BUNDLE_IDENTIFIER)&lt;/string&gt;
      &lt;key&gt;CFBundleInfoDictionaryVersion&lt;/key&gt;
      &lt;string&gt;6.0&lt;/string&gt;
      &lt;key&gt;CFBundleName&lt;/key&gt;
      &lt;string&gt;$(PRODUCT_NAME)&lt;/string&gt;
      &lt;key&gt;CFBundlePackageType&lt;/key&gt;
      &lt;string&gt;APPL&lt;/string&gt;
      &lt;key&gt;CFBundleShortVersionString&lt;/key&gt;
      &lt;string&gt;1.0.1&lt;/string&gt;
      &lt;key&gt;CFBundleSignature&lt;/key&gt;
      &lt;string&gt;????&lt;/string&gt;
      &lt;key&gt;CFBundleURLTypes&lt;/key&gt;
      &lt;array&gt;
        &lt;dict&gt;
          &lt;key&gt;CFBundleURLSchemes&lt;/key&gt;
          &lt;array&gt;
            &lt;string&gt;barcard&lt;/string&gt;
            &lt;string&gt;downtown&lt;/string&gt;
          &lt;/array&gt;
        &lt;/dict&gt;
        &lt;dict&gt;
          &lt;key&gt;CFBundleURLSchemes&lt;/key&gt;
          &lt;array&gt;
            &lt;string&gt;fb$(myFbAppId)&lt;/string&gt;
          &lt;/array&gt;
        &lt;/dict&gt;
        &lt;dict&gt;
          &lt;key&gt;CFBundleTypeRole&lt;/key&gt;
          &lt;string&gt;Editor&lt;/string&gt;
          &lt;key&gt;CFBundleURLName&lt;/key&gt;
          &lt;string&gt;com.googleusercontent.apps.myGoogleKey&lt;/string&gt;
          &lt;key&gt;CFBundleURLSchemes&lt;/key&gt;
          &lt;array&gt;
            &lt;string&gt;com.googleusercontent.apps.myGoogleKey&lt;/string&gt;
          &lt;/array&gt;
        &lt;/dict&gt;
        &lt;dict&gt;
          &lt;key&gt;CFBundleTypeRole&lt;/key&gt;
          &lt;string&gt;Editor&lt;/string&gt;
          &lt;key&gt;CFBundleURLIconFile&lt;/key&gt;
          &lt;string&gt;&lt;/string&gt;
          &lt;key&gt;CFBundleURLName&lt;/key&gt;
          &lt;string&gt;com.barcard.downtown&lt;/string&gt;
          &lt;key&gt;CFBundleURLSchemes&lt;/key&gt;
          &lt;array&gt;
            &lt;string&gt;com.barcard.downtown&lt;/string&gt;
          &lt;/array&gt;
        &lt;/dict&gt;
      &lt;/array&gt;
      &lt;key&gt;CFBundleVersion&lt;/key&gt;
      &lt;string&gt;28&lt;/string&gt;
      &lt;key&gt;CodePushDeploymentKey&lt;/key&gt;
      &lt;string&gt;$(CODEPUSH_KEY)&lt;/string&gt;
      &lt;key&gt;FacebookAppID&lt;/key&gt;
      &lt;string&gt;myFbAppId&lt;/string&gt;
      &lt;key&gt;FacebookDisplayName&lt;/key&gt;
      &lt;string&gt;BarCard by BarCard, Inc&lt;/string&gt;
      &lt;key&gt;ITSAppUsesNonExemptEncryption&lt;/key&gt;
      &lt;false/&gt;
      &lt;key&gt;LSApplicationQueriesSchemes&lt;/key&gt;
      &lt;array&gt;
        &lt;string&gt;fbapi&lt;/string&gt;
        &lt;string&gt;fb-messenger-share-api&lt;/string&gt;
        &lt;string&gt;fbauth2&lt;/string&gt;
        &lt;string&gt;fbshareextension&lt;/string&gt;
        &lt;string&gt;message&lt;/string&gt;
        &lt;string&gt;readdle-spark&lt;/string&gt;
        &lt;string&gt;airmail&lt;/string&gt;
        &lt;string&gt;ms-outlook&lt;/string&gt;
        &lt;string&gt;googlegmail&lt;/string&gt;
        &lt;string&gt;inbox-gmail&lt;/string&gt;
      &lt;/array&gt;
      &lt;key&gt;LSRequiresIPhoneOS&lt;/key&gt;
      &lt;true/&gt;
      &lt;key&gt;NSAppTransportSecurity&lt;/key&gt;
      &lt;dict&gt;
        &lt;key&gt;NSExceptionDomains&lt;/key&gt;
        &lt;dict&gt;
          &lt;key&gt;localhost&lt;/key&gt;
          &lt;dict&gt;
            &lt;key&gt;NSExceptionAllowsInsecureHTTPLoads&lt;/key&gt;
            &lt;true/&gt;
          &lt;/dict&gt;
        &lt;/dict&gt;
      &lt;/dict&gt;
      &lt;key&gt;UIBackgroundModes&lt;/key&gt;
      &lt;array&gt;
        &lt;string&gt;remote-notification&lt;/string&gt;
      &lt;/array&gt;
      &lt;key&gt;UIRequiredDeviceCapabilities&lt;/key&gt;
      &lt;array&gt;
        &lt;string&gt;armv7&lt;/string&gt;
      &lt;/array&gt;
    &lt;/dict&gt;
  &lt;/plist&gt;
  </code></pre>
  
  <p>Any help would be greatly appreciated ! Thank you.</p>