Skip to content

Commit

Permalink
Edit Docs Making Offline iOS Bundle
Browse files Browse the repository at this point in the history
Summary:
via commit 8c29a52 , the way has changed building offline bundle. So this commit update the docs about that.
Closes #9186

Differential Revision: D3682643

Pulled By: JoelMarcey

fbshipit-source-id: 3e4127ca0c00f254dc3464e73c1c2496c0710b85
  • Loading branch information
Nam Se Hyun authored and Facebook Github Bot 2 committed Aug 7, 2016
1 parent df05311 commit 20c6d11
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions docs/RunningOnDeviceIOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 20c6d11

Please sign in to comment.