{"action":"created","issue":{"url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/22","labels_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/22/comments","events_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/22/events","html_url":"https://github.com/mauron85/cordova-plugin-background-geolocation/issues/22","id":124085279,"number":22,"title":"Regular updates","user":{"login":"scgrant327","id":2386529,"avatar_url":"https://avatars.githubusercontent.com/u/2386529?v=3","gravatar_id":"","url":"https://api.github.com/users/scgrant327","html_url":"https://github.com/scgrant327","followers_url":"https://api.github.com/users/scgrant327/followers","following_url":"https://api.github.com/users/scgrant327/following{/other_user}","gists_url":"https://api.github.com/users/scgrant327/gists{/gist_id}","starred_url":"https://api.github.com/users/scgrant327/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scgrant327/subscriptions","organizations_url":"https://api.github.com/users/scgrant327/orgs","repos_url":"https://api.github.com/users/scgrant327/repos","events_url":"https://api.github.com/users/scgrant327/events{/privacy}","received_events_url":"https://api.github.com/users/scgrant327/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-28T16:04:48Z","updated_at":"2015-12-28T16:18:53Z","closed_at":null,"body":"Let's say I want to record the users location once every second...how can I do this with your plugin?\r\n\r\nAnd, can we only record location while moving? Say the user is stationary for 5 seconds, then stop recording, but restart once they move...but have the move threshold be really low, like 1 meter?\r\n\r\n--Sam"},"comment":{"url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/comments/167597270","html_url":"https://github.com/mauron85/cordova-plugin-background-geolocation/issues/22#issuecomment-167597270","issue_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/22","id":167597270,"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":"2015-12-28T16:18:53Z","updated_at":"2015-12-28T16:18:53Z","body":"On Android just use ANDROID_FUSED_LOCATION and set option.interval = 1000\r\n\r\n>And, can we only record location while moving?\r\nThat is exactly what ANDROID_FUSED_LOCATION provider is doing. You can adjust ```option.activitiesInterval```. However it's in seconds not in meters."}}