How can I run my react-native app on the device outside of my home network?

If you are running react-native 0.29.0 or above you can simply change the scheme to "release" and it should build an offline bundle of your app - so you can use it without being on your wifi.

If you are using react-native 0.28.0 or below then you still need to change the scheme to "release", but you also need to change some code in your AppDelegate.m file:

Comment out 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 app into "Production" mode so you will not be able to access the debug menu.

Hope this helps! :)