{"action":"created","issue":{"url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/34","repository_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation","labels_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/34/comments","events_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/34/events","html_url":"https://github.com/mauron85/cordova-plugin-background-geolocation/issues/34","id":129725845,"number":34,"title":"callbackFn called several times on iOS","user":{"login":"matbeard","id":1549469,"avatar_url":"https://avatars.githubusercontent.com/u/1549469?v=3","gravatar_id":"","url":"https://api.github.com/users/matbeard","html_url":"https://github.com/matbeard","followers_url":"https://api.github.com/users/matbeard/followers","following_url":"https://api.github.com/users/matbeard/following{/other_user}","gists_url":"https://api.github.com/users/matbeard/gists{/gist_id}","starred_url":"https://api.github.com/users/matbeard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matbeard/subscriptions","organizations_url":"https://api.github.com/users/matbeard/orgs","repos_url":"https://api.github.com/users/matbeard/repos","events_url":"https://api.github.com/users/matbeard/events{/privacy}","received_events_url":"https://api.github.com/users/matbeard/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-01-29T10:25:53Z","updated_at":"2016-06-13T17:38:41Z","closed_at":null,"body":"I've integrated background tracking into my Phonegap app (based on the Sample App).\r\n\r\nOn my Android device it seems to work perfectly. It's posting location updates to my sever nicely: infrequently when stationary and more often when moving.\r\n\r\nI don't have an iOS device to test, but in the simulator with Location set to Freeway Drive, I'm getting the exact same position logged several times (anything up to 10 times) in my database - all with exactly the same timestamp.\r\n\r\nIs this a problem with the plugin; the behaviour of the iOS simulator; or my code (which works in every other respect).\r\n\r\nAny advice is much appreciated. Thanks"},"comment":{"url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/comments/225653821","html_url":"https://github.com/mauron85/cordova-plugin-background-geolocation/issues/34#issuecomment-225653821","issue_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/34","id":225653821,"user":{"login":"mauron85","id":359450,"avatar_url":"https://avatars.githubusercontent.com/u/359450?v=3","gravatar_id":"","url":"https://api.github.com/users/mauron85","html_url":"https://github.com/mauron85","followers_url":"https://api.github.com/users/mauron85/followers","following_url":"https://api.github.com/users/mauron85/following{/other_user}","gists_url":"https://api.github.com/users/mauron85/gists{/gist_id}","starred_url":"https://api.github.com/users/mauron85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mauron85/subscriptions","organizations_url":"https://api.github.com/users/mauron85/orgs","repos_url":"https://api.github.com/users/mauron85/repos","events_url":"https://api.github.com/users/mauron85/events{/privacy}","received_events_url":"https://api.github.com/users/mauron85/received_events","type":"User","site_admin":false},"created_at":"2016-06-13T17:38:41Z","updated_at":"2016-06-13T17:38:41Z","body":"I have some news about it. The problem actually can arrise when stopOnTerminate is true on Android, which was the default option. Service was sometimes started multiple times in that case. Did you use stopOnTerminate?"}}
{"actor":{"display_login":"mauron85"}}