{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/16891","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/16891/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/16891/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/16891/events","html_url":"https://github.com/facebook/react-native/pull/16891","id":275396223,"number":16891,"title":"Geolocation: add authorizationStatusChange event","user":{"login":"koenpunt","id":351038,"avatar_url":"https://avatars2.githubusercontent.com/u/351038?v=4","gravatar_id":"","url":"https://api.github.com/users/koenpunt","html_url":"https://github.com/koenpunt","followers_url":"https://api.github.com/users/koenpunt/followers","following_url":"https://api.github.com/users/koenpunt/following{/other_user}","gists_url":"https://api.github.com/users/koenpunt/gists{/gist_id}","starred_url":"https://api.github.com/users/koenpunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koenpunt/subscriptions","organizations_url":"https://api.github.com/users/koenpunt/orgs","repos_url":"https://api.github.com/users/koenpunt/repos","events_url":"https://api.github.com/users/koenpunt/events{/privacy}","received_events_url":"https://api.github.com/users/koenpunt/received_events","type":"User","site_admin":false},"labels":[{"id":196858975,"url":"https://api.github.com/repos/facebook/react-native/labels/CLA%20Signed","name":"CLA Signed","color":"e7e7e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-20T15:32:38Z","updated_at":"2018-02-22T18:14:43Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/facebook/react-native/pulls/16891","html_url":"https://github.com/facebook/react-native/pull/16891","diff_url":"https://github.com/facebook/react-native/pull/16891.diff","patch_url":"https://github.com/facebook/react-native/pull/16891.patch"},"body":"## Motivation\r\n\r\nTo be able to listen for authorization changes. For example when a user previously denied authorization to their location, you can direct them to the system settings, and by using this event you can reflect the updated setting in the application.\r\n\r\nMostly putting this out here to see if there's any desire by others too for this functionality.\r\n\r\n## Test Plan\r\n\r\nCurrently not sure, but if someone has an idea on how this should be tested I'm happy to hear.\r\n\r\n## Release Notes\r\n\r\n[IOS] [FEATURE] [Geolocation] - add `authorizationStatusChange` event\r\n\r\n<!--\r\nHelp reviewers and the release process by writing your own release notes\r\n\r\n**INTERNAL and MINOR tagged notes will not be included in the next version's final release notes.**\r\n\r\n  CATEGORY\r\n[----------]        TYPE\r\n[ CLI      ]   [-------------]      LOCATION\r\n[ DOCS     ]   [ BREAKING    ]   [-------------]\r\n[ GENERAL  ]   [ BUGFIX      ]   [-{Component}-]\r\n[ INTERNAL ]   [ ENHANCEMENT ]   [ {File}      ]\r\n[ IOS      ]   [ FEATURE     ]   [ {Directory} ]   |-----------|\r\n[ ANDROID  ]   [ MINOR       ]   [ {Framework} ] - | {Message} |\r\n[----------]   [-------------]   [-------------]   |-----------|\r\n\r\n[CATEGORY] [TYPE] [LOCATION] - MESSAGE\r\n\r\n EXAMPLES:\r\n\r\n [IOS] [BREAKING] [FlatList] - Change a thing that breaks other things\r\n [ANDROID] [BUGFIX] [TextInput] - Did a thing to TextInput\r\n [CLI] [FEATURE] [local-cli/info/info.js] - CLI easier to do things with\r\n [DOCS] [BUGFIX] [GettingStarted.md] - Accidentally a thing/word\r\n [GENERAL] [ENHANCEMENT] [Yoga] - Added new yoga thing/position\r\n [INTERNAL] [FEATURE] [./scripts] - Added thing to script that nobody will see\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/367771126","html_url":"https://github.com/facebook/react-native/pull/16891#issuecomment-367771126","issue_url":"https://api.github.com/repos/facebook/react-native/issues/16891","id":367771126,"user":{"login":"stale[bot]","id":26384082,"avatar_url":"https://avatars2.githubusercontent.com/u/26350515?v=4","gravatar_id":"","url":"https://api.github.com/users/stale%5Bbot%5D","html_url":"https://github.com/apps/stale","followers_url":"https://api.github.com/users/stale%5Bbot%5D/followers","following_url":"https://api.github.com/users/stale%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/stale%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/stale%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stale%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/stale%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/stale%5Bbot%5D/repos","events_url":"https://api.github.com/users/stale%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/stale%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-02-22T18:14:43Z","updated_at":"2018-02-22T18:14:43Z","author_association":"NONE","body":"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions.\n"}}
{"actor":{"display_login":"stale"}}