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

difference between https://github.com/apache/cordova-plugin-geolocation #3

Closed
cquezpro opened this issue May 18, 2017 · 1 comment
Closed

Comments

@cquezpro
Copy link

Hello.
I'd like to know difference between this repo and https://github.com/apache/cordova-plugin-geolocation

Thanks

@zhouzhongyuan
Copy link
Owner

Improve geoloaction accuracy in China mainland

Most Android phones made by Xiaomi, Huawei, Meizu(used by people in China mainland) can NOT get the geoloaction precisely. Because these phone manufacturers will modify the kernel of android, delete android's default location service.

If you want to get a precise location in China mainland, you have to no choice but use Baidu Location SDK or GaoDe Location SDK.

What I did is change the getCurrentPosition method from get loaction by android's default method to get loaction by Baidu Loaction SDK.

If your users are not in china mainland, don't care about my repo, just use cordova-plugin-geolocation.

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