Closed rafaeldfdias closed 8 years ago
cordova-plugin-mauron85-background-geolocation
plugin uses incorrect way of referencing google play services. They include this plugin https://github.com/floatinghotpot/google-play-services which contains https://github.com/floatinghotpot/google-play-services/blob/master/libs/google-play-services_lib/libs/google-play-services.jar.
Such dependencies should be referenced using gradle:
https://github.com/Pushwoosh/pushwoosh-phonegap-plugin/blob/master/plugin.xml#L102
Oh, I accidentially picked the deprecated plugin cordova-plugin-mauron85-background-geolocation-phonegapbuild
.
The actual problem was the conflict between com.google.android.gms:play-services-location:9.+ and com.google.android.gms:play-services-gcm:8.4.0.
This issue should be fixed in 5.1.2 release.
Just in case anyone else is following this, this is indeed fixed in 5.1.2, at least as far as I can see. Thanks!
There's a problem when using the pushwoosh plugin along with the cordova-plugin-mauron85-background-geolocation. When building the code the following error appears: