From 4b293ac89b80ba1f86f9f24bbe23155818263405 Mon Sep 17 00:00:00 2001 From: Eric House Date: Mon, 10 Feb 2014 07:32:16 -0800 Subject: [PATCH] add Crittercism App ID if available --- xwords4/android/scripts/gen_gcmid.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/xwords4/android/scripts/gen_gcmid.sh b/xwords4/android/scripts/gen_gcmid.sh index 35e289b48..6d488f945 100755 --- a/xwords4/android/scripts/gen_gcmid.sh +++ b/xwords4/android/scripts/gen_gcmid.sh @@ -3,19 +3,26 @@ set -e -u GCM_SENDER_ID=${GCM_SENDER_ID:-""} +CRITTERCISM_APP_ID=${CRITTERCISM_APP_ID:-""} if [ -z "$GCM_SENDER_ID" ]; then echo "GCM_SENDER_ID empty; GCM use will be disabled" >&2 fi +if [ -z "$CRITTERCISM_APP_ID" ]; then + echo "CRITTERCISM_APP_ID empty; Crittercism will not be enabled" >&2 +fi PKG=$1 cat <