Having trouble loading js bundle through packager while debugging on device. I can see the request come through from the device but packager sticks at "find dependencies". I can successfully retrieve the bundle in chrome using the same IP.
My jsCodeLocation:
jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"192.168.1.215:8081/index.ios" fallbackResource:nil];
I've added this to my Info.plist to no avail:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
First request from chrome successful, second request from device unsuccessful

Error on device
No longer needed IP prefix. Fixed by changing jsCodeLocation back to:
jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil];
Getting this in 0.45.0, Mac OSX Sierra
Getting this in 0.45.0, Mac OSX Sierra;
fixed this by https://github.com/facebook/react-native/issues/4035
Can someone reopen this? I didn't start seeing this until upgrading to 0.45.0 today.
Still happening to me, too. Cleaned out everything. No go.
The path to the server is not found. Just re-start the server manually by cd { your project } npm start
Most helpful comment
Getting this in 0.45.0, Mac OSX Sierra