ostownsville / cordova-plugin-fcm

Google FCM Push Notifications Cordova Plugin
21 stars 17 forks source link

geolocation plugin #37

Open luigi37 opened 6 years ago

luigi37 commented 6 years ago

Hi, maybe a stupid question.

What is the google play services version of this plugin version?

I have conflicts with https://github.com/mauron85/cordova-plugin-background-geolocation:

Error: /myapp/platforms/android/gradlew: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processDebugGoogleServices'.
> Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 11.4.2.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

and it seem I can sort it by adding in config.xml this code:

<plugin name="cordova-plugin-mauron85-background-geolocation">
    <!-- may contain other variables as shown above -->
    <variable name="GOOGLE_PLAY_SERVICES_VERSION" value="?.?.?" />
</plugin>

But... I'm unsure which version should I put in place of ?.?.?...

Thanks

Luigi

luigi37 commented 6 years ago

any idea? Thanks