transistorsoft / nativescript-background-geolocation-lt

Sophisticated, battery-conscious, cross-platform background-geolocation with motion-detection and geofencing
MIT License
73 stars 24 forks source link

Accepting variable googlePlayServicesLocationVersion as an option #132

Open denisraison opened 5 years ago

denisraison commented 5 years ago

As can be found here https://developers.google.com/android/guides/releases Since May 2, 2018 Google Play services libraries have independent versions number.

I've changed the code to allow us to set the version number only for the com.google.android.gms:play-services-location library and don't conflict with other plugins that use the same variable name (googlePlayServicesVersion) to set the google play service versions.

The code will still allow you to use googlePlayServicesVersion though.