We are seeing an issue in the community of two plugins using different versions of google play services. This causes gradle to error out. We are running into this with the phonegap-push-plugin.
We could create an Android only preference called PlayServicesVersion in config.xml which would control the version of Play Services used for the entire project.
Then if the push plugin wanted to include the FCM libraries in it's plugin.xml it would do:
and the cordova-plugin-google-analytics wanted to include Play Services in it's plugin.xml it would do:
they would both use the same version of Play Services. This gets around the problem of plugins using + in the framework tag and having two plugins pin different versions of Play Services.
The + wildcard fails to compile with the following error: