This adds the possibility to specify a custom version for the play-services-analytics dependency using a ANALYTICS_VERSION cordova variable.
Ref #77
IMO, the Cordova plugin docs were not too clear on this, but I saw that the firebase-analytics plugin uses the same technique. 😉
This could be tested on a clean cordova project. After adding the plugin using the variable, the Android platforms/android/build.gradle file should contain the dependency with the exact version specified, i.e.,
This adds the possibility to specify a custom version for the
play-services-analytics
dependency using aANALYTICS_VERSION
cordova variable.Ref #77
IMO, the Cordova plugin docs were not too clear on this, but I saw that the firebase-analytics plugin uses the same technique. 😉
This could be tested on a clean cordova project. After adding the plugin using the variable, the Android
platforms/android/build.gradle
file should contain the dependency with the exact version specified, i.e.,