{"action":"closed","issue":{"url":"https://api.github.com/repos/RefugeRestrooms/refugerestrooms-android/issues/61","repository_url":"https://api.github.com/repos/RefugeRestrooms/refugerestrooms-android","labels_url":"https://api.github.com/repos/RefugeRestrooms/refugerestrooms-android/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/RefugeRestrooms/refugerestrooms-android/issues/61/comments","events_url":"https://api.github.com/repos/RefugeRestrooms/refugerestrooms-android/issues/61/events","html_url":"https://github.com/RefugeRestrooms/refugerestrooms-android/issues/61","id":377297068,"node_id":"MDU6SXNzdWUzNzcyOTcwNjg=","number":61,"title":"GPS Doesn't Update Nearby Bathrooms When Initially Turned Off","user":{"login":"Carmen-Git-It","id":21255396,"node_id":"MDQ6VXNlcjIxMjU1Mzk2","avatar_url":"https://avatars0.githubusercontent.com/u/21255396?v=4","gravatar_id":"","url":"https://api.github.com/users/Carmen-Git-It","html_url":"https://github.com/Carmen-Git-It","followers_url":"https://api.github.com/users/Carmen-Git-It/followers","following_url":"https://api.github.com/users/Carmen-Git-It/following{/other_user}","gists_url":"https://api.github.com/users/Carmen-Git-It/gists{/gist_id}","starred_url":"https://api.github.com/users/Carmen-Git-It/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Carmen-Git-It/subscriptions","organizations_url":"https://api.github.com/users/Carmen-Git-It/orgs","repos_url":"https://api.github.com/users/Carmen-Git-It/repos","events_url":"https://api.github.com/users/Carmen-Git-It/events{/privacy}","received_events_url":"https://api.github.com/users/Carmen-Git-It/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-05T08:35:31Z","updated_at":"2018-11-21T06:16:44Z","closed_at":"2018-11-21T06:16:44Z","author_association":"NONE","body":"Basically if you start the app with location off, then turn it on, nearby washrooms don't appear. Same behaviour occurs when the app is left open and location remains on.\r\n\r\nI think there's a two-part solution for this:\r\n\r\n- When a user opens the app and either already has, or accepts location privelages, but does not have GPS turned on, we should prompt them to turn on their location services. (There's solid documentation on how to do this-- it's just work.)\r\n\r\n- The location button should always load nearby bathrooms when pressed while a minimum distance away from the latest query location. Could store the last query location (searched or gps) and determine whether or not to re-query the db based on distance if we wanted to.\r\n\r\nI'll probably start on this soon, but it's fully up for grabs if someone wants to take it before me."}}
{"actor":{"display_login":"hissingpanda"}}