{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/Bing-Maps-Fleet-Tracker/issues/19","repository_url":"https://api.github.com/repos/Microsoft/Bing-Maps-Fleet-Tracker","labels_url":"https://api.github.com/repos/Microsoft/Bing-Maps-Fleet-Tracker/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/Bing-Maps-Fleet-Tracker/issues/19/comments","events_url":"https://api.github.com/repos/Microsoft/Bing-Maps-Fleet-Tracker/issues/19/events","html_url":"https://github.com/Microsoft/Bing-Maps-Fleet-Tracker/issues/19","id":299646983,"number":19,"title":"Android client: Check location settings and advise if GPS is disabled","user":{"login":"MartinRobins","id":2203265,"avatar_url":"https://avatars0.githubusercontent.com/u/2203265?v=4","gravatar_id":"","url":"https://api.github.com/users/MartinRobins","html_url":"https://github.com/MartinRobins","followers_url":"https://api.github.com/users/MartinRobins/followers","following_url":"https://api.github.com/users/MartinRobins/following{/other_user}","gists_url":"https://api.github.com/users/MartinRobins/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinRobins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinRobins/subscriptions","organizations_url":"https://api.github.com/users/MartinRobins/orgs","repos_url":"https://api.github.com/users/MartinRobins/repos","events_url":"https://api.github.com/users/MartinRobins/events{/privacy}","received_events_url":"https://api.github.com/users/MartinRobins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-23T09:25:00Z","updated_at":"2018-02-23T09:37:51Z","closed_at":null,"author_association":"NONE","body":"I recently set up a test environment for this project and all went well except that the Android client would not track trips properly on one device (though it worked perfectly on another), but instead only recognised points where it could connect to Wi-Fi.\r\n\r\nI later discovered that the device on which the tracking worked had the location settings set to high accuracy whilst the device that did not work had battery saving selected (i.e. no GPS). Note that the device in question has no SIM installed at the moment either.\r\n\r\nThe Android Location Manager exposes a \"isProviderEnabled\" enabled method that allows you to check if GPS is enabled; might I suggest that this be used and where GPS is not enabled the user be prompted to enable it for a better experience (possibly even sending the user to the correct settings page to change it)?"},"comment":{"url":"https://api.github.com/repos/Microsoft/Bing-Maps-Fleet-Tracker/issues/comments/367958522","html_url":"https://github.com/Microsoft/Bing-Maps-Fleet-Tracker/issues/19#issuecomment-367958522","issue_url":"https://api.github.com/repos/Microsoft/Bing-Maps-Fleet-Tracker/issues/19","id":367958522,"user":{"login":"momohs","id":16039074,"avatar_url":"https://avatars2.githubusercontent.com/u/16039074?v=4","gravatar_id":"","url":"https://api.github.com/users/momohs","html_url":"https://github.com/momohs","followers_url":"https://api.github.com/users/momohs/followers","following_url":"https://api.github.com/users/momohs/following{/other_user}","gists_url":"https://api.github.com/users/momohs/gists{/gist_id}","starred_url":"https://api.github.com/users/momohs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/momohs/subscriptions","organizations_url":"https://api.github.com/users/momohs/orgs","repos_url":"https://api.github.com/users/momohs/repos","events_url":"https://api.github.com/users/momohs/events{/privacy}","received_events_url":"https://api.github.com/users/momohs/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T09:37:51Z","updated_at":"2018-02-23T09:37:51Z","author_association":"MEMBER","body":"Yes indeed, this is a very good point and looks like a good start to anyone wanting to contribute to the project."}}
{"actor":{"display_login":"momohs"}}