You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for serving million people with this great plugin.
Chris, i'm using this plugin on android device and i've set the locationTimeout property to be 5 minutes.
locationTimeout:300 // 5 minutes
But whenever plugin posts the location data after 5 minutes. it makes 3 consecutive post request to the server and it is sending the old location with the updated one. I just need to get only the updated location.
Please do the possible.
Thank you,
Munish
The text was updated successfully, but these errors were encountered:
That commit looks naive and dangerous to me. Simply deleting all locations in cache after a single successful POST?? What if the user was simply had no cell-service for a time (say 1 hour) and the plugin kept recording GPS locations? When he comes back online, the plugin is going to attempt to sync each saved location to the server, one-by-one, deleting only when the server returns http 200.
I'm not going to merge that. Are you sure your server is return HTTP status 200?
Are you monitoring adb log? The plugin logs the HTTP response status it receives from server.
Hi Chris,
Thank you for serving million people with this great plugin.
Chris, i'm using this plugin on android device and i've set the locationTimeout property to be 5 minutes.
locationTimeout:300 // 5 minutes
But whenever plugin posts the location data after 5 minutes. it makes 3 consecutive post request to the server and it is sending the old location with the updated one. I just need to get only the updated location.
Please do the possible.
Thank you,
Munish
The text was updated successfully, but these errors were encountered: