From 20e414281cf331ecff9ee7b7c5a4a1d95d0af837 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Marcos=20Mainka?= Date: Sun, 15 Jul 2018 21:42:18 -0300 Subject: [PATCH] Fix instructions to build for release in README.md Fix some file names on instructions to build for production on iOS and manual install on Android. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4997406..89ee37b 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ like this: #### Android -1. Open up `android/app/src/main/java/[...]/MainActivity.java` +1. Open up `android/app/src/main/java/[...]/MainApplication.java` - Add `import com.reactlibrary.RNThreadPackage;` to the imports at the top of the file - Add `new RNThreadPackage(mReactNativeHost)` to the list returned by the `getPackages()` method - Also note that only the official react native modules are available from your @@ -157,7 +157,7 @@ Once you have generated the bundle file in your ios folder, you will also need t the bundle file to you project in Xcode. In Xcode's file explorer you should see a folder with the same name as your app, containing a `main.jsbundle` file as well as an `appDelegate.m` file. Right click on that folder and select the 'Add Files to ' -option, which will open up finder and allow you to select your `ios/index.thread.js` +option, which will open up finder and allow you to select your `ios/index.thread.jsbundle` file. You will only need to do this once, and the file will be included in all future builds. -- 2.26.2