{"action":"created","issue":{"url":"https://api.github.com/repos/react-navigation/react-navigation/issues/1819","repository_url":"https://api.github.com/repos/react-navigation/react-navigation","labels_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/1819/labels{/name}","comments_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/1819/comments","events_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/1819/events","html_url":"https://github.com/react-navigation/react-navigation/issues/1819","id":234987371,"number":1819,"title":"Trouble handling android hardware back button","user":{"login":"Suresh-R-S","id":13781322,"avatar_url":"https://avatars3.githubusercontent.com/u/13781322?v=4","gravatar_id":"","url":"https://api.github.com/users/Suresh-R-S","html_url":"https://github.com/Suresh-R-S","followers_url":"https://api.github.com/users/Suresh-R-S/followers","following_url":"https://api.github.com/users/Suresh-R-S/following{/other_user}","gists_url":"https://api.github.com/users/Suresh-R-S/gists{/gist_id}","starred_url":"https://api.github.com/users/Suresh-R-S/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Suresh-R-S/subscriptions","organizations_url":"https://api.github.com/users/Suresh-R-S/orgs","repos_url":"https://api.github.com/users/Suresh-R-S/repos","events_url":"https://api.github.com/users/Suresh-R-S/events{/privacy}","received_events_url":"https://api.github.com/users/Suresh-R-S/received_events","type":"User","site_admin":false},"labels":[{"id":526653633,"url":"https://api.github.com/repos/react-navigation/react-navigation/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-06-10T07:45:55Z","updated_at":"2018-02-21T19:30:30Z","closed_at":"2017-11-19T10:02:54Z","author_association":"NONE","body":"Hi,\r\n\r\nI'am having trouble handling the android hardware back button. \r\n\r\nIf I use react-native BackHandler and add a listener in each of my screens, then I'am unable to remove the listener when the screen changes (I believe it is because I'am using StackNavigator & componentWillUnmount is not fired).\r\n\r\nSo, how to handle android hardware back button?\r\n\r\nRN Version 0.44.0\r\nreact-navigation Version 1.0.0-beta.9\r\nredux Version 3.6.0"},"comment":{"url":"https://api.github.com/repos/react-navigation/react-navigation/issues/comments/367442766","html_url":"https://github.com/react-navigation/react-navigation/issues/1819#issuecomment-367442766","issue_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/1819","id":367442766,"user":{"login":"brentvatne","id":90494,"avatar_url":"https://avatars2.githubusercontent.com/u/90494?v=4","gravatar_id":"","url":"https://api.github.com/users/brentvatne","html_url":"https://github.com/brentvatne","followers_url":"https://api.github.com/users/brentvatne/followers","following_url":"https://api.github.com/users/brentvatne/following{/other_user}","gists_url":"https://api.github.com/users/brentvatne/gists{/gist_id}","starred_url":"https://api.github.com/users/brentvatne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brentvatne/subscriptions","organizations_url":"https://api.github.com/users/brentvatne/orgs","repos_url":"https://api.github.com/users/brentvatne/repos","events_url":"https://api.github.com/users/brentvatne/events{/privacy}","received_events_url":"https://api.github.com/users/brentvatne/received_events","type":"User","site_admin":false},"created_at":"2018-02-21T19:30:30Z","updated_at":"2018-02-21T19:30:30Z","author_association":"OWNER","body":"this may resolve issues that folks encountered here: https://github.com/react-navigation/react-navigation/commit/b3bf80634d20238130c700964a01c92b9c47cacb\r\n\r\nif not, please create a new issue with an example on snack.expo.io or github, thanks!"}}
{"actor":{"display_login":"brentvatne"}}