Commit 20e41428 authored by João Marcos Mainka's avatar João Marcos Mainka Committed by GitHub

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.
parent f79dafa4
...@@ -55,7 +55,7 @@ like this: ...@@ -55,7 +55,7 @@ like this:
#### Android #### 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 `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 - 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 - 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 ...@@ -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 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 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 <Your App Name>' as an `appDelegate.m` file. Right click on that folder and select the 'Add Files to <Your App Name>'
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 file. You will only need to do this once, and the file will be included in all future
builds. builds.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment