{"action":"created","issue":{"url":"https://api.github.com/repos/wix/react-native-navigation/issues/916","repository_url":"https://api.github.com/repos/wix/react-native-navigation","labels_url":"https://api.github.com/repos/wix/react-native-navigation/issues/916/labels{/name}","comments_url":"https://api.github.com/repos/wix/react-native-navigation/issues/916/comments","events_url":"https://api.github.com/repos/wix/react-native-navigation/issues/916/events","html_url":"https://github.com/wix/react-native-navigation/issues/916","id":216264368,"node_id":"MDU6SXNzdWUyMTYyNjQzNjg=","number":916,"title":"Custom splash screen.","user":{"login":"SudoPlz","id":3070948,"node_id":"MDQ6VXNlcjMwNzA5NDg=","avatar_url":"https://avatars3.githubusercontent.com/u/3070948?v=4","gravatar_id":"","url":"https://api.github.com/users/SudoPlz","html_url":"https://github.com/SudoPlz","followers_url":"https://api.github.com/users/SudoPlz/followers","following_url":"https://api.github.com/users/SudoPlz/following{/other_user}","gists_url":"https://api.github.com/users/SudoPlz/gists{/gist_id}","starred_url":"https://api.github.com/users/SudoPlz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SudoPlz/subscriptions","organizations_url":"https://api.github.com/users/SudoPlz/orgs","repos_url":"https://api.github.com/users/SudoPlz/repos","events_url":"https://api.github.com/users/SudoPlz/events{/privacy}","received_events_url":"https://api.github.com/users/SudoPlz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-03-23T01:55:37Z","updated_at":"2018-06-02T15:36:29Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hello,\r\n\r\nI'm trying to create a simple splash screen that pretends to be my first react component.\r\n\r\nThis is what I want my splash screen to look like:\r\n<img src=\"https://cloud.githubusercontent.com/assets/3070948/24228232/a535b9de-0f7b-11e7-81f7-f59da00a9eec.jpg\"  width=\"200\">\r\n\r\n\r\nand this is what my first react component looks like:\r\n<img src=\"https://cloud.githubusercontent.com/assets/3070948/24228242/b4da2640-0f7b-11e7-9ff9-2d2d1fcd94d6.png\"  width=\"200\">\r\n\r\n\r\nSo far so good, I added this code to my `AppDelegate.m`:\r\n\r\n```Objective-C\r\n-(void)showSplashScreen\r\n{\r\n  // CGRect screenBounds = [UIScreen mainScreen].bounds;\r\n  UINavigationController *splashView = nil;\r\n  \r\n  NSString* launchStoryBoard = [[NSBundle mainBundle] objectForInfoDictionaryKey:@\"UILaunchStoryboardName\"];\r\n  if (launchStoryBoard != nil)\r\n  {//load the splash from the storyboard that's defined in the info.plist as the LaunchScreen\r\n    splashView = [[NSBundle mainBundle] loadNibNamed:launchStoryBoard owner:self options:nil][0];\r\n    \r\n    id<UIApplicationDelegate> appDelegate = [UIApplication sharedApplication].delegate;\r\n    appDelegate.window.rootViewController = splashView;\r\n    [appDelegate.window makeKeyAndVisible];\r\n  }\r\n  \r\n}\r\n```\r\n\r\nit works because my `SplashScreen.xib` looks like this:\r\n\r\n![screen shot 2017-03-23 at 03 52 33](https://cloud.githubusercontent.com/assets/3070948/24228340/2f3e2e90-0f7c-11e7-823f-7d7ea769595d.png)\r\n\r\n\r\nThe only problem I have is a flickering right between the splash screen fading away and the first react component being mounted.\r\n\r\nIt happens when this [line runs](https://github.com/wix/react-native-navigation/blob/cc94e023a1b501084d9f2adf08fd7c9e50f18b2d/ios/RCCManagerModule.m#L209).\r\n\r\nHere's a gif demonstrating the problem (you can see the problem right AFTER the green debugging line that says `Loading from localhost` on the top of the screen goes away):\r\n<img src=\"http://g.recordit.co/gbKQkPcbfE.gif\" />\r\n\r\nPlease advise!\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/wix/react-native-navigation/issues/comments/394095768","html_url":"https://github.com/wix/react-native-navigation/issues/916#issuecomment-394095768","issue_url":"https://api.github.com/repos/wix/react-native-navigation/issues/916","id":394095768,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDA5NTc2OA==","user":{"login":"stale[bot]","id":26384082,"node_id":"MDM6Qm90MjYzODQwODI=","avatar_url":"https://avatars3.githubusercontent.com/in/1724?v=4","gravatar_id":"","url":"https://api.github.com/users/stale%5Bbot%5D","html_url":"https://github.com/apps/stale","followers_url":"https://api.github.com/users/stale%5Bbot%5D/followers","following_url":"https://api.github.com/users/stale%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/stale%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/stale%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stale%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/stale%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/stale%5Bbot%5D/repos","events_url":"https://api.github.com/users/stale%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/stale%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-06-02T15:36:29Z","updated_at":"2018-06-02T15:36:29Z","author_association":"NONE","body":"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. \nIf you believe the issue is still relevant, please test on the latest version and report back. Thank you for your contributions.\n"}}
{"actor":{"display_login":"stale"}}