realm-js/examples/ReactExample/run-android.sh

14 lines
243 B
Bash
Raw Permalink Normal View History

2016-01-14 05:25:10 +00:00
#!/bin/bash
2016-01-26 23:16:33 +00:00
set -o pipefail
set -e
PATH="/opt/android-sdk-linux/platform-tools:$PATH"
# Inform the prepublish script to build Android modules.
REALM_BUILD_ANDROID=1 npm install realm
2016-01-26 23:16:33 +00:00
adb reverse tcp:8081 tcp:8081
2016-01-14 05:25:10 +00:00
react-native run-android