unlocking device after the app is installed

This commit is contained in:
Nabil Hachicha 2016-02-03 19:00:21 +00:00
parent e5ff3683ee
commit 97345e62a9
2 changed files with 3 additions and 2 deletions

View File

@ -112,7 +112,6 @@ case "$TARGET" in
npm install
open_chrome
react-native start &
unlock_device
./run-android.sh
# Despite the docs claiming -c to work, it doesn't, so `-T 1` alleviates that.

View File

@ -10,7 +10,9 @@ npm install realm realm-tests
cp ../../src/object-store/parser/queryTests.json node_modules/realm-tests/query-tests.json
echo "Reversing port for physical device"
adb reverse tcp:8081 tcp:8081
adb forward tcp:8082 tcp:8082
react-native run-android
echo "Unlocking device"
adb shell input keyevent 82