summaryrefslogtreecommitdiff
path: root/hooks/before_prepare
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/before_prepare')
-rwxr-xr-xhooks/before_prepare/01_pp_hacks.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/hooks/before_prepare/01_pp_hacks.sh b/hooks/before_prepare/01_pp_hacks.sh
index 06980e1e..304aca79 100755
--- a/hooks/before_prepare/01_pp_hacks.sh
+++ b/hooks/before_prepare/01_pp_hacks.sh
@@ -55,6 +55,14 @@ else
echo "Directory platforms/android/res/ does not exist, skipping..."
fi
+echo "Copying Google services to android/app"
+echo "--------------------------------------------------"
+if [ -d "platforms/android" ]; then
+ exe cp google-services.json platforms/android/app/
+else
+ echo "Directory platforms/android doesn't exist"
+fi
+
#echo "Fixing insecure SSL permission problem"
#echo "--------------------------------------------------"
#if [ -d "platforms/android/CordovaLib/src/org/apache/cordova/engine" ]; then