Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'IsGpsLocationEnabled()' not working #305

Closed
pyeonjaesik opened this issue May 18, 2018 · 2 comments
Closed

'IsGpsLocationEnabled()' not working #305

pyeonjaesik opened this issue May 18, 2018 · 2 comments

Comments

@pyeonjaesik
Copy link

pyeonjaesik commented May 18, 2018

'IsGpsLocationEnabled' is not working.
But if I install cordova-request-location -accuracy-plugin too, it works well.
However if I add cordova-plugin-fcm, I get build failed err. Following is my err that I have.
Execution failed for task ':app: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 9.0.0.

---how to use IsGpsLocationEnabled() without cordova-request-location -accuracy-plugin? Or how to succeed building with cordova-request-location -accuracy-plugin?

Corova android platform is latest

@dpa99c
Copy link
Owner

dpa99c commented May 18, 2018

'IsGpsLocationEnabled' is not working.
But if I install cordova-request-location -accuracy-plugin too, it works well.

The code of the two plugins is independent, so the presence of one cannot influence the outcome of the other.
Please try building and running the example project for this plugin to confirm this and that IsGpsLocationEnabled() is actually working fine with cordova-android@7.1.0.

how to use IsGpsLocationEnabled() without cordova-request-location -accuracy-plugin? Or how to succeed building with cordova-request-location -accuracy-plugin?

This is due to a Gradle version collision - see dpa99c/cordova-plugin-request-location-accuracy#50 for a solution

@dpa99c dpa99c closed this as completed May 18, 2018
@pyeonjaesik
Copy link
Author

Thank you I'll try it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants