Skip to content

Instantly share code, notes, and snippets.

View binzailani3136's full-sized avatar

Bin Zailani binzailani3136

  • Kuala Lumpur Malaysia
View GitHub Profile
@binzailani3136
binzailani3136 / gist:c51cb4d16f8558df1642305d5f7db210
Created April 27, 2017 00:02 — forked from marty-wang/gist:5a71e9d0a6a2c6d6263c
Compile and deploy React Native Android app of Release version to device.
Disclaimer: The instructions are the collective efforts from a few places online.
Nothing here is my original. But I want to put them together in one place to save people from spending the same time as I did.
First off, bundle.
==================
1. cd to the project directory
2. Start the react-native packager if not started
3. Download the bundle to the asset folder:
curl "http://localhost:8081/index.android.bundle?platform=android" -o "android/app/src/main/assets/index.android.bundle"