{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/5863","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/5863/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/5863/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/5863/events","html_url":"https://github.com/facebook/react-native/issues/5863","id":132818203,"number":5863,"title":"Issue with pulling bundles from a remote server. Seeing `_fbBatchedBridge is undefined`","user":{"login":"pvenkatakrishnan","id":2745959,"avatar_url":"https://avatars.githubusercontent.com/u/2745959?v=3","gravatar_id":"","url":"https://api.github.com/users/pvenkatakrishnan","html_url":"https://github.com/pvenkatakrishnan","followers_url":"https://api.github.com/users/pvenkatakrishnan/followers","following_url":"https://api.github.com/users/pvenkatakrishnan/following{/other_user}","gists_url":"https://api.github.com/users/pvenkatakrishnan/gists{/gist_id}","starred_url":"https://api.github.com/users/pvenkatakrishnan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pvenkatakrishnan/subscriptions","organizations_url":"https://api.github.com/users/pvenkatakrishnan/orgs","repos_url":"https://api.github.com/users/pvenkatakrishnan/repos","events_url":"https://api.github.com/users/pvenkatakrishnan/events{/privacy}","received_events_url":"https://api.github.com/users/pvenkatakrishnan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-10T21:09:27Z","updated_at":"2016-02-10T21:09:27Z","closed_at":null,"body":"Doing a react-native integration into an existing ios app.\r\nI have a native ios app which pulls in the ios bundle from a remote server.\r\nI followed the instructions on the react-native site and i am able to install pod dependencies within React and startup the ios app in a simulator.\r\n\r\nWhen i navigate to the view that loads the react-native provided view, the code looks something like\r\n```\r\n   NSString *urlString = @\"https://<some_url_here>/main.jsbundle\"; //a remotely hosted bundle.\r\n   NSURL *jsCodeLocation = [NSURL URLWithString:urlString];\r\n   RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation\r\n                                                 moduleName: @\"react-native-checkout\"\r\n                                                 initialProperties: nil\r\n                                                     launchOptions:nil];\r\n```\r\n\r\nwhen i directly hit the `https://<some_url_here>/main.jsbundle` i do see the bundle get downloded, so i do know that that url does serve the bundle.\r\n\r\nThe problem i am seeing is when i try to load the view, i see a red screen with\r\n`_fbBatchedBridge is undefined`.\r\nWhen i searched on the web for this issue, seems like the most common times this issue happened is when someone tries to pull the bundle from dev server but it is not running. For me, thats not the case as the bundle is hosted remotely.\r\n\r\nAny ideas as to what could be going wrong ?\r\n"}}