{"action":"created","issue":{"url":"https://api.github.com/repos/fbsamples/f8app/issues/82","repository_url":"https://api.github.com/repos/fbsamples/f8app","labels_url":"https://api.github.com/repos/fbsamples/f8app/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/fbsamples/f8app/issues/82/comments","events_url":"https://api.github.com/repos/fbsamples/f8app/issues/82/events","html_url":"https://github.com/fbsamples/f8app/issues/82","id":162932463,"number":82,"title":"Could not connect to development server","user":{"login":"rahul100885","id":208253,"avatar_url":"https://avatars.githubusercontent.com/u/208253?v=3","gravatar_id":"","url":"https://api.github.com/users/rahul100885","html_url":"https://github.com/rahul100885","followers_url":"https://api.github.com/users/rahul100885/followers","following_url":"https://api.github.com/users/rahul100885/following{/other_user}","gists_url":"https://api.github.com/users/rahul100885/gists{/gist_id}","starred_url":"https://api.github.com/users/rahul100885/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rahul100885/subscriptions","organizations_url":"https://api.github.com/users/rahul100885/orgs","repos_url":"https://api.github.com/users/rahul100885/repos","events_url":"https://api.github.com/users/rahul100885/events{/privacy}","received_events_url":"https://api.github.com/users/rahul100885/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-29T13:58:57Z","updated_at":"2016-06-30T13:34:12Z","closed_at":null,"body":"I was trying to run application on Genymotion and/or android emulator, everything works fine till step 5 mentioned in setup but once I run step 6 I get error \"Could not connect to development server\" or android emulator and genymotion. \r\n![device-2016-06-29-191948](https://cloud.githubusercontent.com/assets/208253/16454636/1a8edbc6-3e2f-11e6-8288-1e8ddc1e8318.png)\r\n\r\nIn case of android emulator IP is 10.0.2.2:8081. \r\nI know 10.0.3.2 ( In case of genymotion ) and 10.0.2.2 ( In case of emulator ), both connects to local development machine. \r\nBut in step 4 mentioned in setup start server on port 8080 on local machine, which is accessible in browser. \r\n\r\nIs it we have to run some server on port 8081 on local development machine? Or either setup doc missed any steps?"},"comment":{"url":"https://api.github.com/repos/fbsamples/f8app/issues/comments/229659304","html_url":"https://github.com/fbsamples/f8app/issues/82#issuecomment-229659304","issue_url":"https://api.github.com/repos/fbsamples/f8app/issues/82","id":229659304,"user":{"login":"nirzari18","id":9067431,"avatar_url":"https://avatars.githubusercontent.com/u/9067431?v=3","gravatar_id":"","url":"https://api.github.com/users/nirzari18","html_url":"https://github.com/nirzari18","followers_url":"https://api.github.com/users/nirzari18/followers","following_url":"https://api.github.com/users/nirzari18/following{/other_user}","gists_url":"https://api.github.com/users/nirzari18/gists{/gist_id}","starred_url":"https://api.github.com/users/nirzari18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nirzari18/subscriptions","organizations_url":"https://api.github.com/users/nirzari18/orgs","repos_url":"https://api.github.com/users/nirzari18/repos","events_url":"https://api.github.com/users/nirzari18/events{/privacy}","received_events_url":"https://api.github.com/users/nirzari18/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T13:34:11Z","updated_at":"2016-06-30T13:34:11Z","body":"@rahul100885 I assume, it is as mentioned in official documentation Under \"TroubleShooting Run\" https://facebook.github.io/react-native/docs/getting-started.html#content\r\n\r\nRegarding your current problem, I ran into the same issue as I was trying to install this app yesterday.\r\nIt is fixed and pushed by a user in https://github.com/fbsamples/f8app/pull/79 but unfortunately the code has not been merged yet.\r\n\r\nFixes you need:\r\njs -> Login -> LoginScreen.js\r\n\r\nAdd \"var StatusBar = require('StatusBar');\" after line 31\r\nAt line 73, replace StatusBarIOS.setStyle('default') with StatusBar.setBarStyle('default'); since StatusBarIOS is deprecated https://facebook.github.io/react-native/docs/statusbarios.html.\r\n\r\nThis should fix it for you!"}}
{"actor":{"display_login":"nirzari18"}}