{"action":"created","issue":{"url":"https://api.github.com/repos/wix/react-native-navigation/issues/138","repository_url":"https://api.github.com/repos/wix/react-native-navigation","labels_url":"https://api.github.com/repos/wix/react-native-navigation/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/wix/react-native-navigation/issues/138/comments","events_url":"https://api.github.com/repos/wix/react-native-navigation/issues/138/events","html_url":"https://github.com/wix/react-native-navigation/issues/138","id":166347694,"number":138,"title":"Customise default UIView background colour","user":{"login":"joefocusrite","id":3284312,"avatar_url":"https://avatars.githubusercontent.com/u/3284312?v=3","gravatar_id":"","url":"https://api.github.com/users/joefocusrite","html_url":"https://github.com/joefocusrite","followers_url":"https://api.github.com/users/joefocusrite/followers","following_url":"https://api.github.com/users/joefocusrite/following{/other_user}","gists_url":"https://api.github.com/users/joefocusrite/gists{/gist_id}","starred_url":"https://api.github.com/users/joefocusrite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joefocusrite/subscriptions","organizations_url":"https://api.github.com/users/joefocusrite/orgs","repos_url":"https://api.github.com/users/joefocusrite/repos","events_url":"https://api.github.com/users/joefocusrite/events{/privacy}","received_events_url":"https://api.github.com/users/joefocusrite/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"artald","id":8604256,"avatar_url":"https://avatars.githubusercontent.com/u/8604256?v=3","gravatar_id":"","url":"https://api.github.com/users/artald","html_url":"https://github.com/artald","followers_url":"https://api.github.com/users/artald/followers","following_url":"https://api.github.com/users/artald/following{/other_user}","gists_url":"https://api.github.com/users/artald/gists{/gist_id}","starred_url":"https://api.github.com/users/artald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artald/subscriptions","organizations_url":"https://api.github.com/users/artald/orgs","repos_url":"https://api.github.com/users/artald/repos","events_url":"https://api.github.com/users/artald/events{/privacy}","received_events_url":"https://api.github.com/users/artald/received_events","type":"User","site_admin":false},"assignees":[{"login":"artald","id":8604256,"avatar_url":"https://avatars.githubusercontent.com/u/8604256?v=3","gravatar_id":"","url":"https://api.github.com/users/artald","html_url":"https://github.com/artald","followers_url":"https://api.github.com/users/artald/followers","following_url":"https://api.github.com/users/artald/following{/other_user}","gists_url":"https://api.github.com/users/artald/gists{/gist_id}","starred_url":"https://api.github.com/users/artald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artald/subscriptions","organizations_url":"https://api.github.com/users/artald/orgs","repos_url":"https://api.github.com/users/artald/repos","events_url":"https://api.github.com/users/artald/events{/privacy}","received_events_url":"https://api.github.com/users/artald/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-07-19T14:37:02Z","updated_at":"2016-07-24T12:43:57Z","closed_at":null,"body":"When using React Native, you can change the background colour of the default UIView in `application: didFinishLaunchingWithOptions:`. Using react-native-navigation, however, this doesn't have an effect because of the way UIViewControllers are vended. \r\n\r\nA corollary of this is that I have a flash of white as the animation for the next scene is pushed onto the stack but before the JS has loaded a new view. I can work around this by adding `  self.view.backgroundColor = myBackgroundColour;` in `RCCViewController`'s `commonInit: navigatorStyle: props:` method, but it would be nice to be able to customise this outside of the library. Is this possible?\r\n\r\nreact-native @ 0.28.0\r\nreact-native-navigation @ 1.0.24"},"comment":{"url":"https://api.github.com/repos/wix/react-native-navigation/issues/comments/234775233","html_url":"https://github.com/wix/react-native-navigation/issues/138#issuecomment-234775233","issue_url":"https://api.github.com/repos/wix/react-native-navigation/issues/138","id":234775233,"user":{"login":"rmdort","id":118231,"avatar_url":"https://avatars.githubusercontent.com/u/118231?v=3","gravatar_id":"","url":"https://api.github.com/users/rmdort","html_url":"https://github.com/rmdort","followers_url":"https://api.github.com/users/rmdort/followers","following_url":"https://api.github.com/users/rmdort/following{/other_user}","gists_url":"https://api.github.com/users/rmdort/gists{/gist_id}","starred_url":"https://api.github.com/users/rmdort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmdort/subscriptions","organizations_url":"https://api.github.com/users/rmdort/orgs","repos_url":"https://api.github.com/users/rmdort/repos","events_url":"https://api.github.com/users/rmdort/events{/privacy}","received_events_url":"https://api.github.com/users/rmdort/received_events","type":"User","site_admin":false},"created_at":"2016-07-24T12:43:57Z","updated_at":"2016-07-24T12:43:57Z","body":"Yes. the black screen with `controllers` was fixed. But I was wondering if we have a workaround for `white screen` appearing when Javascript is being loaded and executed.\r\n\r\nhttps://github.com/facebook/react-native/issues/1402\r\n\r\nHow it was fixed in react-native was by loading a Launch screen\r\n\r\n````\r\nNSArray *nibObjects = [[NSBundle mainBundle] loadNibNamed:@\"LaunchScreen\" owner:self options:nil];\r\nUIImageView *loadingView = [nibObjects objectAtIndex:0];\r\nloadingView.frame = self.window.bounds;\r\nrootView.loadingView = loadingView;\r\n````\r\n\r\nRCTRootview has `loadingView` property, But react-native-controllers doesnt. Is there a better way of doing this? Everytime i open the app for the first time, I see the splash screen, then  white background and then the app."}}
{"actor":{"display_login":"rmdort"}}