{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/9347","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/9347/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/9347/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/9347/events","html_url":"https://github.com/facebook/react-native/issues/9347","id":170626408,"number":9347,"title":"Geolocation can not watch the position.","user":{"login":"keung725","id":15522239,"avatar_url":"https://avatars0.githubusercontent.com/u/15522239?v=4","gravatar_id":"","url":"https://api.github.com/users/keung725","html_url":"https://github.com/keung725","followers_url":"https://api.github.com/users/keung725/followers","following_url":"https://api.github.com/users/keung725/following{/other_user}","gists_url":"https://api.github.com/users/keung725/gists{/gist_id}","starred_url":"https://api.github.com/users/keung725/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keung725/subscriptions","organizations_url":"https://api.github.com/users/keung725/orgs","repos_url":"https://api.github.com/users/keung725/repos","events_url":"https://api.github.com/users/keung725/events{/privacy}","received_events_url":"https://api.github.com/users/keung725/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-08-11T11:42:15Z","updated_at":"2018-05-09T06:32:52Z","closed_at":"2017-01-06T19:51:15Z","author_association":"NONE","body":"Geolocation can not watch the position. It only updates when you go to homescreen and reopen the app. To recreate this problem, just use the example on React Native docs: \nhttp://facebook.github.io/react-native/releases/0.31/docs/geolocation.html#watchposition\n\n```\ncomponentDidMount(){\n  this.watchID = navigator.geolocation.watchPosition((position) => {\n      var lastPosition = JSON.stringify(position);\n      this.setState({lastPosition});\n    });\n}\n```\n\nUsing React Native version 0.31.0 & 0.30.0 on iOS.\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/387634785","html_url":"https://github.com/facebook/react-native/issues/9347#issuecomment-387634785","issue_url":"https://api.github.com/repos/facebook/react-native/issues/9347","id":387634785,"user":{"login":"gitsad","id":13887724,"avatar_url":"https://avatars2.githubusercontent.com/u/13887724?v=4","gravatar_id":"","url":"https://api.github.com/users/gitsad","html_url":"https://github.com/gitsad","followers_url":"https://api.github.com/users/gitsad/followers","following_url":"https://api.github.com/users/gitsad/following{/other_user}","gists_url":"https://api.github.com/users/gitsad/gists{/gist_id}","starred_url":"https://api.github.com/users/gitsad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitsad/subscriptions","organizations_url":"https://api.github.com/users/gitsad/orgs","repos_url":"https://api.github.com/users/gitsad/repos","events_url":"https://api.github.com/users/gitsad/events{/privacy}","received_events_url":"https://api.github.com/users/gitsad/received_events","type":"User","site_admin":false},"created_at":"2018-05-09T06:32:52Z","updated_at":"2018-05-09T06:32:52Z","author_association":"NONE","body":"I have the same problem which @briangainer has. @ericvicenti I think this issue should be open. "}}
{"actor":{"display_login":"gitsad"}}