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
question: Multiple location requests at once #42
Comments
Android caches locations on the device when no network connection is Once a network conn is detected, it spews them out all at once. Check the I test Android without a SIM card, heading out for a 30min walk, for On Monday, June 23, 2014, stefaniebrunner notifications@github.com wrote:
Snet from Gmail Mobile |
Yes, but I receive these amount of locations right after I start the background-service. |
Is your server returning http 200? if not, the plugin will keep on trying Try deleting the app from device, re-install. On Mon, Jun 23, 2014 at 11:07 AM, stefaniebrunner notifications@github.com
Chris Scott |
You're right. There were some older locations in the cache in case of failure response. |
...is there a possibility to check de response state from server in the app on android? I have always locations in my cache and don't know why. |
No way to check — the Android bg-geolocation plugin runs as an autonomous Your server MUST return http status 200 for the location to be removed from Tail your server logs while running the app, there’s probably a 500 being On Thu, Jun 26, 2014 at 11:47 AM, stefaniebrunner notifications@github.com
Chris Scott |
FYI Android has been completely refactored
http://transistorsoft.github.io/cordova-background-geolocation/ |
Why do I receive on my server about 20 locations all at once? I was testing the plugin with one device and received always circa 20 requests from that only device.
Is that a configuration issue?
The text was updated successfully, but these errors were encountered: