Skip to content

Instantly share code, notes, and snippets.

Avatar

Tonatiuh Núñez tonatiuh

View GitHub Profile
@tonatiuh
tonatiuh / gist:f112656f31dae480cca49440d2b54689
Created Jul 1, 2016 — forked from marty-wang/gist:5a71e9d0a6a2c6d6263c
Compile and deploy React Native Android app of Release version to device.
View gist:f112656f31dae480cca49440d2b54689
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"