{"action":"closed","issue":{"url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt/issues/621","repository_url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt","labels_url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt/issues/621/labels{/name}","comments_url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt/issues/621/comments","events_url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt/issues/621/events","html_url":"https://github.com/transistorsoft/cordova-background-geolocation-lt/issues/621","id":302838254,"number":621,"title":"Plugin doesn't start tracking immediately after being still","user":{"login":"mihristov","id":3672348,"avatar_url":"https://avatars3.githubusercontent.com/u/3672348?v=4","gravatar_id":"","url":"https://api.github.com/users/mihristov","html_url":"https://github.com/mihristov","followers_url":"https://api.github.com/users/mihristov/followers","following_url":"https://api.github.com/users/mihristov/following{/other_user}","gists_url":"https://api.github.com/users/mihristov/gists{/gist_id}","starred_url":"https://api.github.com/users/mihristov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihristov/subscriptions","organizations_url":"https://api.github.com/users/mihristov/orgs","repos_url":"https://api.github.com/users/mihristov/repos","events_url":"https://api.github.com/users/mihristov/events{/privacy}","received_events_url":"https://api.github.com/users/mihristov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-06T19:41:27Z","updated_at":"2018-03-06T20:02:16Z","closed_at":"2018-03-06T20:02:16Z","author_association":"NONE","body":"<!--- Provide a general summary of the issue in the Title above -->\r\nI stop getting locations for some period after I've stopped moving for a while. Aggressive tracking doesn't launch right after I start moving again. Tested in background mode.\r\n## Your Environment\r\n* Plugin version: 2.10.1\r\n* Platform: Android\r\n* OS version: 6.0.1\r\n* Device manufacturer / model: HTC Desire 820\r\n* Cordova version (`cordova -v`): phonegap build cli-7.1.0 (android 6.3.0)\r\n* Cordova platform version (`cordova platform ls`):\r\n* Plugin config\r\n\r\n- desiredAccuracy: 0,\r\n- stopTimeout: 0,\r\n- fastestLocationUpdateInterval: 5000,\r\n- locationUpdateInterval: 1000,\r\n- heartbeatInterval: 60,\r\n- foregroundService: true\r\n\r\n## Expected Behavior\r\n<!--- Tell us what should happen -->\r\nLocation tracking should start right after I start moving again.\r\n## Actual Behavior\r\n<!--- Tell us what happens instead -->\r\nIt starts 10 mins later. https://imgur.com/a/FRKDq You can see that big chunk of missing points. It happened right after I spent some time waiting at the traffic light.\r\n## Steps to Reproduce\r\n<!--- reproduce this issue; include code to reproduce, if relevant -->\r\n1. Start the plugin\r\n2. Put it in background and lock the phone\r\n3. Stop at the traffic light\r\n4. Continue to drive\r\n\r\n## Context\r\n<!--- What were you trying to do? -->\r\nI'm trying to get the full set of coordinates out of my trip.\r\nDo you think the issue is related to `stopTimeout: 0` ? I set that in order to start receiving heartbeat updates right after I stop moving (because I need some location update at least once per minute).\r\nOr do you think this is because of my phone? I'm missing 2 out of 4 sensors.\r\nThanks.\r\n## Debug logs\r\n<!-- include iOS / Android logs\r\n- ios XCode logs, \r\n- use #getLog #emailLog methods (@see docs)\r\n- Android: $ adb logcat\r\n-->\r\nhttps://pastebin.com/xgg9L6Fs\r\n"}}
{"actor":{"display_login":"christocracy"}}