From 20c6d11f84cec5b3a428d7aff74406d11e7a4732 Mon Sep 17 00:00:00 2001 From: Nam Se Hyun Date: Sun, 7 Aug 2016 09:14:36 -0700 Subject: [PATCH] Edit Docs Making Offline iOS Bundle Summary: via commit 8c29a52c54392ce52148e7d3aa9f835537453aa4 , the way has changed building offline bundle. So this commit update the docs about that. Closes https://github.com/facebook/react-native/pull/9186 Differential Revision: D3682643 Pulled By: JoelMarcey fbshipit-source-id: 3e4127ca0c00f254dc3464e73c1c2496c0710b85 --- docs/RunningOnDeviceIOS.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/docs/RunningOnDeviceIOS.md b/docs/RunningOnDeviceIOS.md index 483e5a017..fc78878c2 100644 --- a/docs/RunningOnDeviceIOS.md +++ b/docs/RunningOnDeviceIOS.md @@ -24,16 +24,8 @@ In Xcode, select your phone as build target and press "Build and run" You have built a great app using React Native, and you are now itching to release it in the App Store. The process is the same as any other native iOS app, with some additional considerations to take into account. -### Disabling the developer menu - Building an app for distribution in the App Store requires using the `Release` scheme in Xcode. Apps built for `Release` will automatically disable the in-app developer menu. This will prevent your users from inadvertently accessing the menu in production. - -### Using the offline bundle - -Set up your app to load your JavaScript, images, and other static assets from its resource bundle rather than the development server. This way you can test the app independently of the development server, and will allow you to distribute the app to beta testers and submit the app to the App Store. - -1. Open `ios/YourApp/AppDelegate.m` -2. Uncomment the line, `jsCodeLocation = [[NSBundle mainBundle] ...` +This way you can test the app independently of the development server, and will allow you to distribute the app to beta testers and submit the app to the App Store. ### App Transport Security