{"action":"opened","issue":{"url":"https://api.github.com/repos/wix/react-native-navigation/issues/3460","repository_url":"https://api.github.com/repos/wix/react-native-navigation","labels_url":"https://api.github.com/repos/wix/react-native-navigation/issues/3460/labels{/name}","comments_url":"https://api.github.com/repos/wix/react-native-navigation/issues/3460/comments","events_url":"https://api.github.com/repos/wix/react-native-navigation/issues/3460/events","html_url":"https://github.com/wix/react-native-navigation/issues/3460","id":336601373,"node_id":"MDU6SXNzdWUzMzY2MDEzNzM=","number":3460,"title":"Blank screen after Social Login ","user":{"login":"Lube","id":4809248,"node_id":"MDQ6VXNlcjQ4MDkyNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/4809248?v=4","gravatar_id":"","url":"https://api.github.com/users/Lube","html_url":"https://github.com/Lube","followers_url":"https://api.github.com/users/Lube/followers","following_url":"https://api.github.com/users/Lube/following{/other_user}","gists_url":"https://api.github.com/users/Lube/gists{/gist_id}","starred_url":"https://api.github.com/users/Lube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lube/subscriptions","organizations_url":"https://api.github.com/users/Lube/orgs","repos_url":"https://api.github.com/users/Lube/repos","events_url":"https://api.github.com/users/Lube/events{/privacy}","received_events_url":"https://api.github.com/users/Lube/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-28T12:32:02Z","updated_at":"2018-06-28T12:32:02Z","closed_at":null,"author_association":"NONE","body":"In iOS after logging in on facebook or google, when the app comes back to the foreground the entire screen is blank, and only a snackbar is shown.\r\n\r\nIm using react-native-fbsdk and react-native-googlesignin my appDelegate.m looks exactly like its suggested in the fbsdk library so I suspect that somehow this is a rnn issue. \r\n\r\n```@implementation AppDelegate\r\n- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions\r\n{\r\n  NSURL *jsCodeLocation;\r\n  [GMSServices provideAPIKey:@\"AIzaSyDi1ZfxhjyrbxAsCD2zUxsa49puc8axXvs\"];\r\n\r\n  jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@\"index\" fallbackResource:nil];\r\n\r\n  self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];\r\n  self.window.backgroundColor = [UIColor whiteColor];\r\n  [[RCCManager sharedInstance] initBridgeWithBundleURL:jsCodeLocation launchOptions:launchOptions];\r\n  \r\n  [[FBSDKApplicationDelegate sharedInstance] application:application\r\n                           didFinishLaunchingWithOptions:launchOptions];\r\n  \r\n  return YES;\r\n}\r\n\r\n- (BOOL)application:(UIApplication *)application\r\n            openURL:(NSURL *)url\r\n            options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options {\r\n  \r\n  BOOL handled = [[FBSDKApplicationDelegate sharedInstance] application:application\r\n                                                                openURL:url\r\n                                                      sourceApplication:options[UIApplicationOpenURLOptionsSourceApplicationKey]\r\n                                                             annotation:options[UIApplicationOpenURLOptionsAnnotationKey]\r\n                  ];\r\n  // Add any custom logic here.\r\n  return handled;\r\n}\r\n\r\n- (void)applicationDidBecomeActive:(UIApplication *)application {\r\n  [FBSDKAppEvents activateApp];\r\n}```\r\n\r\n```\r\n\r\nNavigation.startSingleScreenApp({\r\n  screen: {\r\n    screen: 'akun.Cover',\r\n    navigatorStyle: {\r\n      navBarHidden: true\r\n    }\r\n  },\r\n  drawer: {\r\n    right: {\r\n      screen: 'akun.Drawer',\r\n      passProps: {},\r\n      disableOpenGesture: false,\r\n      fixedWidth: 700\r\n    },\r\n    style: {\r\n      drawerShadow: false,\r\n      contentOverlayColor: 'rgba(0,0,0,0.25)',\r\n      leftDrawerWidth: 75,\r\n      rightDrawerWidth: 50\r\n    },\r\n    type: 'TheSideBar',\r\n    animationType: 'facebook',\r\n    disableOpenGesture: false\r\n  },\r\n  passProps: {},\r\n  animationType: 'fade'\r\n})\r\n```\r\n\r\n```\r\n return (error, result) => {\r\n      Snackbar.show({\r\n        title: t(this.props.language, 'completeSignUp'),\r\n        duration: Snackbar.LENGTH_SHORT\r\n      })\r\n      this.props.navigateTo({\r\n        screen: 'akun.Registro',\r\n        backButtonHidden: true,\r\n        animated: true,\r\n        passProps: {\r\n          provider,\r\n          user_id: this.state.user_id\r\n        },\r\n        animationType: 'slide-horizontal'\r\n      })\r\n    }\r\n```\r\n\r\n* React Native Navigation version: v1.1.473 \r\n* React Native version: 0.51.0\r\n* Platform(s) (iOS, Android, or both?): iOS\r\n* Device info (Simulator/Device? OS version? Debug/Release?): Simulator and Device, Debug\r\n"}}
{"actor":{"display_login":"Lube"}}