From 9fe44813490cfe710c87ab8523412ac9a7e7861c Mon Sep 17 00:00:00 2001 From: Daniel Kim Date: Wed, 28 Aug 2019 11:22:49 +0900 Subject: [PATCH 1/3] Add GMS_VERSION variable --- plugin.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin.xml b/plugin.xml index 9fafbf1..6f9b5c4 100644 --- a/plugin.xml +++ b/plugin.xml @@ -72,7 +72,8 @@ - + + Date: Wed, 28 Aug 2019 11:24:07 +0900 Subject: [PATCH 2/3] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index afdd6fa..06fb9a4 100644 --- a/README.md +++ b/README.md @@ -40,3 +40,13 @@ INCOMING_CALL_APP_NAME | PhoneApp | Users will get a notification that they have ENABLE_CALL_KIT | true | This plugin has optional CallKit support for iOS 10 and above. ENABLE_CALL_KIT should be "true" or "false" MASK_INCOMING_PHONE_NUMBER | false | This plugin has optional ability to mask the incoming phone number. MASK_INCOMING_PHONE_NUMBER should be "true" or "false" DEBUG_TWILIO | false | Optionally enable twilio library debugging. DEBUG_TWILIO should be "true" or "false" +GMS_VERSION | 10.2.1 | Optionally choose `play-services` library version + + +# Configuring `play-services` Version + +Many other plugins require Google Play Services and/or Firebase libraries. This is a common source of Android build-failures, since the `play-services` library version must be aligned to the same version for **all** plugins. For example, when one plugin imports version `11.0.1` and another one imports `11.2.0`, a gradle build failure will occur. Use the `GMS_VERSION` to align the required play-services version with other plugins. + +``` +cordova plugin add cordova-plugin-google-analytics --variable GMS_VERSION=11.0.1 +``` From e2986b45cd751e3594126200197de8f0c5a3fe63 Mon Sep 17 00:00:00 2001 From: Daniel Kim Date: Fri, 30 Aug 2019 16:39:15 +0900 Subject: [PATCH 3/3] Update plugin.xml --- plugin.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.xml b/plugin.xml index 6f9b5c4..6d713d4 100644 --- a/plugin.xml +++ b/plugin.xml @@ -73,7 +73,7 @@ -