If you use action-native 0.29.0 or higher, you can simply change the scheme to βreleaseβ and it should create a standalone bundle of your application, so you can use it without being on your Wi-Fi.
If you use response-native 0.28.0 or lower, you still need to change the schema to "release", but you also need to change the code in the AppDelegate.m file:
Comment this line:
jsCodeLocation = [NSURL URLWithString:@"http://localhost:8081/index.ios.bundle?platform=ios&dev=true"];
And then uncomment this line:
jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
This puts your application in Production mode, so you wonβt be able to access the debug menu.
Hope this helps! :)
source share