Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(android) add logcat helper script

Saúl Ibarra Corretgéfe0c804cc0ee
diff --git a/android/scripts/logcat.sh b/android/scripts/logcat.sh
new file mode 100755
index 0000000000..c7e9ab2bdf
--- /dev/null
+++ b/android/scripts/logcat.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+PKG_NAME=${1:-org.jitsi.meet}
+APP_PID=$(adb shell ps | grep $PKG_NAME | awk '{print $2}')
+
+if [[ -z "$APP_PID" ]]; then
+ echo "App is not running"
+ exit 1
+fi
+
+exec adb logcat --pid=$APP_PID