breautek commented on issue #205:
URL: 
https://github.com/apache/cordova-plugin-geolocation/issues/205#issuecomment-673766367


   On android, Cordova doesn't provide a geolocation implementation. It uses 
the browser implementation, because of this I can only really provide a rough 
guess.
   
   Google Maps using native APIs has much more fine control options available, 
while the browser implementation is mostly hard-coded, and perhaps configured 
more to save battery power instead of accuracy. In my experience, most devices 
will yield between a 5m-10m accuracy reading assuming a healthy satellite 
connection, with assisted GPS enabled, using the browser-based implementation.
   
   There are third-party plugins 
[available](https://www.npmjs.com/search?q=cordova-plugin-locationservices) 
that implements Geolocation using the Google APIs you can try to see if it 
improves things for your case. I personally use 
[cordova-plugin-locationservices](https://www.npmjs.com/package/cordova-plugin-locationservices),
 in one of my apps.
   
   I don't really see this as an issue that Cordova can resolve so I'll be 
closing this.
   
   > Same here, but worst on IOS. Have seen a similar issue bug in ionic repo : 
ionic-team/ionic-native#1691.
   
   On iOS, Cordova does provide a geolocation implement, so if there is a 
problem on on iOS, cordova *may* be able to do something, however, in my 
experience, most accuracy-related issues are related to environment or device 
settings. I have a 
[gist](https://gist.github.com/breautek/d6231fa33d6942c269296546892afb5e) that 
goes into more detail.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to