{"action":"created","issue":{"url":"https://api.github.com/repos/zo0r/react-native-push-notification/issues/152","repository_url":"https://api.github.com/repos/zo0r/react-native-push-notification","labels_url":"https://api.github.com/repos/zo0r/react-native-push-notification/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/zo0r/react-native-push-notification/issues/152/comments","events_url":"https://api.github.com/repos/zo0r/react-native-push-notification/issues/152/events","html_url":"https://github.com/zo0r/react-native-push-notification/pull/152","id":167354750,"number":152,"title":"Use onNewIntent from ActivityEventListener","user":{"login":"Bhullnatik","id":2040807,"avatar_url":"https://avatars.githubusercontent.com/u/2040807?v=3","gravatar_id":"","url":"https://api.github.com/users/Bhullnatik","html_url":"https://github.com/Bhullnatik","followers_url":"https://api.github.com/users/Bhullnatik/followers","following_url":"https://api.github.com/users/Bhullnatik/following{/other_user}","gists_url":"https://api.github.com/users/Bhullnatik/gists{/gist_id}","starred_url":"https://api.github.com/users/Bhullnatik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bhullnatik/subscriptions","organizations_url":"https://api.github.com/users/Bhullnatik/orgs","repos_url":"https://api.github.com/users/Bhullnatik/repos","events_url":"https://api.github.com/users/Bhullnatik/events{/privacy}","received_events_url":"https://api.github.com/users/Bhullnatik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-25T12:30:40Z","updated_at":"2016-07-26T07:13:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zo0r/react-native-push-notification/pulls/152","html_url":"https://github.com/zo0r/react-native-push-notification/pull/152","diff_url":"https://github.com/zo0r/react-native-push-notification/pull/152.diff","patch_url":"https://github.com/zo0r/react-native-push-notification/pull/152.patch"},"body":"Hello,\r\n\r\nReact Native a new event in the 0.30 version , [`onNewIntent`](https://github.com/facebook/react-native/commit/2fc0f4041ec836c1e1aef1f5d9c77b4f4aba4aae), which allow us to know when the current activity receives a new intent without having to implement a method in `MainApplication` and `MainActivity`.\r\n\r\nIt simplifies the code a lot, even when implementing the module since we don't need to pass the event from the activity -> application -> module.\r\n\r\nI tested it, it works fine.\r\n"},"comment":{"url":"https://api.github.com/repos/zo0r/react-native-push-notification/issues/comments/235181839","html_url":"https://github.com/zo0r/react-native-push-notification/pull/152#issuecomment-235181839","issue_url":"https://api.github.com/repos/zo0r/react-native-push-notification/issues/152","id":235181839,"user":{"login":"Bhullnatik","id":2040807,"avatar_url":"https://avatars.githubusercontent.com/u/2040807?v=3","gravatar_id":"","url":"https://api.github.com/users/Bhullnatik","html_url":"https://github.com/Bhullnatik","followers_url":"https://api.github.com/users/Bhullnatik/followers","following_url":"https://api.github.com/users/Bhullnatik/following{/other_user}","gists_url":"https://api.github.com/users/Bhullnatik/gists{/gist_id}","starred_url":"https://api.github.com/users/Bhullnatik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bhullnatik/subscriptions","organizations_url":"https://api.github.com/users/Bhullnatik/orgs","repos_url":"https://api.github.com/users/Bhullnatik/repos","events_url":"https://api.github.com/users/Bhullnatik/events{/privacy}","received_events_url":"https://api.github.com/users/Bhullnatik/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T07:13:42Z","updated_at":"2016-07-26T07:13:42Z","body":"@zo0r Done! Sorry for the delay."}}
{"actor":{"display_login":"Bhullnatik"}}