{"action":"created","issue":{"url":"https://api.github.com/repos/urbanairship/react-native-module/issues/90","repository_url":"https://api.github.com/repos/urbanairship/react-native-module","labels_url":"https://api.github.com/repos/urbanairship/react-native-module/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/urbanairship/react-native-module/issues/90/comments","events_url":"https://api.github.com/repos/urbanairship/react-native-module/issues/90/events","html_url":"https://github.com/urbanairship/react-native-module/pull/90","id":304388571,"number":90,"title":"Queue up push received and registration events","user":{"login":"kmagiera","id":726445,"avatar_url":"https://avatars2.githubusercontent.com/u/726445?v=4","gravatar_id":"","url":"https://api.github.com/users/kmagiera","html_url":"https://github.com/kmagiera","followers_url":"https://api.github.com/users/kmagiera/followers","following_url":"https://api.github.com/users/kmagiera/following{/other_user}","gists_url":"https://api.github.com/users/kmagiera/gists{/gist_id}","starred_url":"https://api.github.com/users/kmagiera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmagiera/subscriptions","organizations_url":"https://api.github.com/users/kmagiera/orgs","repos_url":"https://api.github.com/users/kmagiera/repos","events_url":"https://api.github.com/users/kmagiera/events{/privacy}","received_events_url":"https://api.github.com/users/kmagiera/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-12T14:14:57Z","updated_at":"2018-03-15T18:04:48Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/urbanairship/react-native-module/pulls/90","html_url":"https://github.com/urbanairship/react-native-module/pull/90","diff_url":"https://github.com/urbanairship/react-native-module/pull/90.diff","patch_url":"https://github.com/urbanairship/react-native-module/pull/90.patch"},"body":"Previously these types of events would get discarded when launched before the module is initialized and before all the listeners are set in JS (which was the case primarily for background notifications that would trigger app launch)"},"comment":{"url":"https://api.github.com/repos/urbanairship/react-native-module/issues/comments/373470606","html_url":"https://github.com/urbanairship/react-native-module/pull/90#issuecomment-373470606","issue_url":"https://api.github.com/repos/urbanairship/react-native-module/issues/90","id":373470606,"user":{"login":"kmagiera","id":726445,"avatar_url":"https://avatars2.githubusercontent.com/u/726445?v=4","gravatar_id":"","url":"https://api.github.com/users/kmagiera","html_url":"https://github.com/kmagiera","followers_url":"https://api.github.com/users/kmagiera/followers","following_url":"https://api.github.com/users/kmagiera/following{/other_user}","gists_url":"https://api.github.com/users/kmagiera/gists{/gist_id}","starred_url":"https://api.github.com/users/kmagiera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmagiera/subscriptions","organizations_url":"https://api.github.com/users/kmagiera/orgs","repos_url":"https://api.github.com/users/kmagiera/repos","events_url":"https://api.github.com/users/kmagiera/events{/privacy}","received_events_url":"https://api.github.com/users/kmagiera/received_events","type":"User","site_admin":false},"created_at":"2018-03-15T18:04:48Z","updated_at":"2018-03-15T18:04:48Z","author_association":"NONE","body":"Hey @rlepinski when the app is launch in background the JS context will initialize as normal, the only think is that the UI won't be rendered but it is ok to register push listener then and do some stuff in background (like for example send a network request). This is how we use it now with this patch in"}}
{"actor":{"display_login":"kmagiera"}}