The official React Native documentation to run app on iOS device using offline bundle says
Open ios/YourApp/AppDelegate.m Uncomment the line, jsCo
Open ios/YourApp/AppDelegate.m
Uncomment the line, jsCo
For me the problem was that I had fiddled with the Info.plist and removed the localhost app transport security exception. Adding this back into Info.plist fixed it for me:
NSAppTransportSecurity NSExceptionDomains localhost NSExceptionAllowsInsecureHTTPLoads