File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8787 emulator-options : >-
8888 -no-window -no-audio -no-boot-anim -gpu swiftshader_indirect
8989 -camera-back none -camera-front none
90+ -no-snapshot -no-snapshot-save -wipe-data
9091 disable-animations : true
9192 script : |
93+ adb kill-server || true
94+ adb start-server || true
95+ adb wait-for-device || true
9296 adb devices
97+
98+ for i in {1..150}; do
99+ state="$(adb get-state 2>dev/null || true)"
100+ boot="$(adb shell getprop sys.boot_completed 2>dev/null | tr -d '\r' || true)"
101+ echo "adb_state=${state}, boot_completed=${boot}"
102+ if [ "${state}" = "device" ] && [ "${boot}" = "1" ]; then
103+ echo "Emulator is ready"
104+ break
105+ fi
106+ sleep 2
107+ done
108+
93109 adb shell getprop sys.boot_completed || true
94110 adb shell settings put global window_animation_scale 0 || true
95111 adb shell settings put global transition_animation_scale 0 || true
Original file line number Diff line number Diff line change 6363 pod install --repo-update
6464 fi
6565
66+ cd ..
67+
6668 echo "------ workspaces -------"
6769 ls -la ios/*.xcworkspace || true
6870
You can’t perform that action at this time.
0 commit comments