From 2ffb3a0c3d865909498d4aeeabb45f8964222c8c Mon Sep 17 00:00:00 2001 From: butomo1989 Date: Mon, 5 Nov 2018 14:28:36 +0100 Subject: [PATCH] Added Android version for Google Analytics --- src/appium.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/appium.sh b/src/appium.sh index e396a31..3952e39 100644 --- a/src/appium.sh +++ b/src/appium.sh @@ -203,7 +203,7 @@ function run_appium() { function ga(){ if [ "$GA" = true ]; then echo "Collecting data for improving the project" - description="PROCESSOR: ${SYS_IMG}; DEVICE: ${DEVICE}; APPIUM: ${APPIUM}; SELENIUM: ${CONNECT_TO_GRID}; MOBILE_TEST: ${MOBILE_WEB_TEST}" + description="PROCESSOR: ${SYS_IMG}; VERSION: ${ANDROID_VERSION}; DEVICE: ${DEVICE}; APPIUM: ${APPIUM}; SELENIUM: ${CONNECT_TO_GRID}; MOBILE_TEST: ${MOBILE_WEB_TEST}" random_user=$(cat /proc/version 2>&1 | sed -e 's/ /_/g' | sed -e 's/[()]//g' | sed -e 's/@.*_gcc_version/_gcc/g' | sed -e 's/__/_/g' | sed -e 's/Linux_version_//g' | sed -e 's/generic_build/genb/g') random_user="${APP_RELEASE_VERSION}_${random_user}" payload=(