Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
android: always run adb reverse when starting the packager
Saúl Ibarra Corretgé31e996ac3f8c
diff --git a/android/scripts/run-packager.sh b/android/scripts/run-packager.shindex aa5ce47330..6b112628c2 100755--- a/android/scripts/run-packager.sh+++ b/android/scripts/run-packager.sh@@ -8,13 +8,14 @@ THIS_DIR=$(cd -P "$(dirname "$(readlink "${BASH_SOURCE[0]}" || echo "${BASH_SOURexport RCT_METRO_PORT="${RCT_METRO_PORT:=8081}"echo "export RCT_METRO_PORT=${RCT_METRO_PORT}" > "${THIS_DIR}/../../node_modules/react-native/scripts/.packager.env"+adb reverse tcp:8081 tcp:8081+if nc -w 5 -z localhost ${RCT_METRO_PORT} ; thenif ! curl -s "http://localhost:${RCT_METRO_PORT}/status" | grep -q "packager-status:running" ; thenecho "Port ${RCT_METRO_PORT} already in use, packager is either not running or not running correctly"exit 2fielse- adb reverse tcp:8081 tcp:8081CMD="${THIS_DIR}/../../node_modules/react-native/scripts/launchPackager.command"if [[ `uname` == "Darwin" ]]; thenopen -g "${CMD}" || echo "Can't start packager automatically"