From 5198ed438af91946150fd7cca0a59faf48423935 Mon Sep 17 00:00:00 2001 From: Li Qichao Date: Mon, 12 Oct 2015 08:57:28 -0700 Subject: [PATCH] Fix the wrong offline bundle link in Movie example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: When I am trying to figure out if there are several js files, there is only one bundle file. I am trying to use the command line in the comment which is curl 'http://localhost:8081/Examples/Movies/MoviesApp.includeRequire.runModule.bundle' -o main.jsbundle But after react native has upgraded to 0.12, this command line didn't work. You need to use: curl 'http://localhost:8081/Examples/Movies/MoviesApp.ios.bundle?platform=ios&dev=true' -o main.jsbundle And then it will work Closes https://github.com/facebook/react-native/pull/3361 Reviewed By: @​svcscm Differential Revision: D2531487 Pulled By: @javache fb-gh-sync-id: 5fd96d427b1097de4e264cb047a13d5a382c6d0f --- Examples/Movies/Movies/AppDelegate.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/Movies/Movies/AppDelegate.m b/Examples/Movies/Movies/AppDelegate.m index 4d322023f..6b8a069fd 100644 --- a/Examples/Movies/Movies/AppDelegate.m +++ b/Examples/Movies/Movies/AppDelegate.m @@ -44,7 +44,7 @@ * Load from pre-bundled file on disk. To re-generate the static bundle, `cd` * to your Xcode project folder in the terminal, and run * - * $ curl 'http://localhost:8081/Examples/Movies/MoviesApp.includeRequire.runModule.bundle' -o main.jsbundle + * $ curl 'http://localhost:8081/Examples/Movies/MoviesApp.ios.bundle?platform=ios&dev=true' -o main.jsbundle * * then add the `main.jsbundle` file to your project and uncomment this line: */