{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/pulls/1","id":235764101,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1NzY0MTAx","html_url":"https://github.com/BobCaSUaL/phonegap-plugin-push/pull/1","diff_url":"https://github.com/BobCaSUaL/phonegap-plugin-push/pull/1.diff","patch_url":"https://github.com/BobCaSUaL/phonegap-plugin-push/pull/1.patch","issue_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/issues/1","number":1,"state":"open","locked":false,"title":"iOS push notification on cold start","user":{"login":"BobCaSUaL","id":5519198,"node_id":"MDQ6VXNlcjU1MTkxOTg=","avatar_url":"https://avatars0.githubusercontent.com/u/5519198?v=4","gravatar_id":"","url":"https://api.github.com/users/BobCaSUaL","html_url":"https://github.com/BobCaSUaL","followers_url":"https://api.github.com/users/BobCaSUaL/followers","following_url":"https://api.github.com/users/BobCaSUaL/following{/other_user}","gists_url":"https://api.github.com/users/BobCaSUaL/gists{/gist_id}","starred_url":"https://api.github.com/users/BobCaSUaL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BobCaSUaL/subscriptions","organizations_url":"https://api.github.com/users/BobCaSUaL/orgs","repos_url":"https://api.github.com/users/BobCaSUaL/repos","events_url":"https://api.github.com/users/BobCaSUaL/events{/privacy}","received_events_url":"https://api.github.com/users/BobCaSUaL/received_events","type":"User","site_admin":false},"body":"Maybe during the project history the `didFinishLaunchingWithOptions` observer were lost.\r\n\r\n## Description\r\nRe-added it mantaining the naming convetion with `pushPluginOnApplicationDidBecomeActive` observer.\r\n\r\n## Related Issue\r\nhttps://github.com/phonegap/phonegap-plugin-push/issues/2629\r\n\r\n## Motivation and Context\r\non notification ios does not work? (on start after app was killed)\r\n\r\n## How Has This Been Tested?\r\nInclude the plugin into a cordova project that receive push notification.\r\nSe a log (or an alert if you are in a production build) in the `.on('notification', cb)` hadler.\r\nSend a push notification after killing the app.\r\nNow the push is correctly hanlded, before this intervetion noting appears.\r\n\r\n\r\n## Types of changes\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n- [x] Bug fix (non-breaking change which fixes an issue)\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Checklist:\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [x] My code follows the code style of this project.\r\n- [ ] My change requires a change to the documentation.\r\n- [ ] I have updated the documentation accordingly.\r\n- [ ] I have read the **CONTRIBUTING** document. \r\nThe contributing document is not present\r\n- [ ] I have added tests to cover my changes.\r\nI do not know how to test it.\r\n- [ ] All new and existing tests passed.\r\n","created_at":"2018-12-04T10:57:42Z","updated_at":"2018-12-04T10:57:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/pulls/1/commits","review_comments_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/pulls/1/comments","review_comment_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/issues/1/comments","statuses_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/statuses/097fe464a214f1b6999c3879014566416d251fe8","head":{"label":"BobCaSUaL:iOS-push-notification-on-cold-start","ref":"iOS-push-notification-on-cold-start","sha":"097fe464a214f1b6999c3879014566416d251fe8","user":{"login":"BobCaSUaL","id":5519198,"node_id":"MDQ6VXNlcjU1MTkxOTg=","avatar_url":"https://avatars0.githubusercontent.com/u/5519198?v=4","gravatar_id":"","url":"https://api.github.com/users/BobCaSUaL","html_url":"https://github.com/BobCaSUaL","followers_url":"https://api.github.com/users/BobCaSUaL/followers","following_url":"https://api.github.com/users/BobCaSUaL/following{/other_user}","gists_url":"https://api.github.com/users/BobCaSUaL/gists{/gist_id}","starred_url":"https://api.github.com/users/BobCaSUaL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BobCaSUaL/subscriptions","organizations_url":"https://api.github.com/users/BobCaSUaL/orgs","repos_url":"https://api.github.com/users/BobCaSUaL/repos","events_url":"https://api.github.com/users/BobCaSUaL/events{/privacy}","received_events_url":"https://api.github.com/users/BobCaSUaL/received_events","type":"User","site_admin":false},"repo":{"id":160341806,"node_id":"MDEwOlJlcG9zaXRvcnkxNjAzNDE4MDY=","name":"phonegap-plugin-push","full_name":"BobCaSUaL/phonegap-plugin-push","private":false,"owner":{"login":"BobCaSUaL","id":5519198,"node_id":"MDQ6VXNlcjU1MTkxOTg=","avatar_url":"https://avatars0.githubusercontent.com/u/5519198?v=4","gravatar_id":"","url":"https://api.github.com/users/BobCaSUaL","html_url":"https://github.com/BobCaSUaL","followers_url":"https://api.github.com/users/BobCaSUaL/followers","following_url":"https://api.github.com/users/BobCaSUaL/following{/other_user}","gists_url":"https://api.github.com/users/BobCaSUaL/gists{/gist_id}","starred_url":"https://api.github.com/users/BobCaSUaL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BobCaSUaL/subscriptions","organizations_url":"https://api.github.com/users/BobCaSUaL/orgs","repos_url":"https://api.github.com/users/BobCaSUaL/repos","events_url":"https://api.github.com/users/BobCaSUaL/events{/privacy}","received_events_url":"https://api.github.com/users/BobCaSUaL/received_events","type":"User","site_admin":false},"html_url":"https://github.com/BobCaSUaL/phonegap-plugin-push","description":"Register and receive push notifications","fork":true,"url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push","forks_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/forks","keys_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/teams","hooks_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/hooks","issue_events_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/issues/events{/number}","events_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/events","assignees_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/assignees{/user}","branches_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/branches{/branch}","tags_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/tags","blobs_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/git/refs{/sha}","trees_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/statuses/{sha}","languages_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/languages","stargazers_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/stargazers","contributors_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/contributors","subscribers_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/subscribers","subscription_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/subscription","commits_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/commits{/sha}","git_commits_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/git/commits{/sha}","comments_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/comments{/number}","issue_comment_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/issues/comments{/number}","contents_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/contents/{+path}","compare_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/merges","archive_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/downloads","issues_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/issues{/number}","pulls_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/pulls{/number}","milestones_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/milestones{/number}","notifications_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/labels{/name}","releases_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/releases{/id}","deployments_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/deployments","created_at":"2018-12-04T10:43:43Z","updated_at":"2018-12-04T10:43:46Z","pushed_at":"2018-12-04T10:48:53Z","git_url":"git://github.com/BobCaSUaL/phonegap-plugin-push.git","ssh_url":"git@github.com:BobCaSUaL/phonegap-plugin-push.git","clone_url":"https://github.com/BobCaSUaL/phonegap-plugin-push.git","svn_url":"https://github.com/BobCaSUaL/phonegap-plugin-push","homepage":null,"size":23277,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"BobCaSUaL:master","ref":"master","sha":"ee4e8c8c5100e912070639bff7a9ee5db5ce6290","user":{"login":"BobCaSUaL","id":5519198,"node_id":"MDQ6VXNlcjU1MTkxOTg=","avatar_url":"https://avatars0.githubusercontent.com/u/5519198?v=4","gravatar_id":"","url":"https://api.github.com/users/BobCaSUaL","html_url":"https://github.com/BobCaSUaL","followers_url":"https://api.github.com/users/BobCaSUaL/followers","following_url":"https://api.github.com/users/BobCaSUaL/following{/other_user}","gists_url":"https://api.github.com/users/BobCaSUaL/gists{/gist_id}","starred_url":"https://api.github.com/users/BobCaSUaL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BobCaSUaL/subscriptions","organizations_url":"https://api.github.com/users/BobCaSUaL/orgs","repos_url":"https://api.github.com/users/BobCaSUaL/repos","events_url":"https://api.github.com/users/BobCaSUaL/events{/privacy}","received_events_url":"https://api.github.com/users/BobCaSUaL/received_events","type":"User","site_admin":false},"repo":{"id":160341806,"node_id":"MDEwOlJlcG9zaXRvcnkxNjAzNDE4MDY=","name":"phonegap-plugin-push","full_name":"BobCaSUaL/phonegap-plugin-push","private":false,"owner":{"login":"BobCaSUaL","id":5519198,"node_id":"MDQ6VXNlcjU1MTkxOTg=","avatar_url":"https://avatars0.githubusercontent.com/u/5519198?v=4","gravatar_id":"","url":"https://api.github.com/users/BobCaSUaL","html_url":"https://github.com/BobCaSUaL","followers_url":"https://api.github.com/users/BobCaSUaL/followers","following_url":"https://api.github.com/users/BobCaSUaL/following{/other_user}","gists_url":"https://api.github.com/users/BobCaSUaL/gists{/gist_id}","starred_url":"https://api.github.com/users/BobCaSUaL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BobCaSUaL/subscriptions","organizations_url":"https://api.github.com/users/BobCaSUaL/orgs","repos_url":"https://api.github.com/users/BobCaSUaL/repos","events_url":"https://api.github.com/users/BobCaSUaL/events{/privacy}","received_events_url":"https://api.github.com/users/BobCaSUaL/received_events","type":"User","site_admin":false},"html_url":"https://github.com/BobCaSUaL/phonegap-plugin-push","description":"Register and receive push notifications","fork":true,"url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push","forks_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/forks","keys_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/teams","hooks_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/hooks","issue_events_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/issues/events{/number}","events_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/events","assignees_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/assignees{/user}","branches_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/branches{/branch}","tags_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/tags","blobs_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/git/refs{/sha}","trees_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/statuses/{sha}","languages_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/languages","stargazers_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/stargazers","contributors_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/contributors","subscribers_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/subscribers","subscription_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/subscription","commits_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/commits{/sha}","git_commits_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/git/commits{/sha}","comments_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/comments{/number}","issue_comment_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/issues/comments{/number}","contents_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/contents/{+path}","compare_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/merges","archive_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/downloads","issues_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/issues{/number}","pulls_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/pulls{/number}","milestones_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/milestones{/number}","notifications_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/labels{/name}","releases_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/releases{/id}","deployments_url":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/deployments","created_at":"2018-12-04T10:43:43Z","updated_at":"2018-12-04T10:43:46Z","pushed_at":"2018-12-04T10:48:53Z","git_url":"git://github.com/BobCaSUaL/phonegap-plugin-push.git","ssh_url":"git@github.com:BobCaSUaL/phonegap-plugin-push.git","clone_url":"https://github.com/BobCaSUaL/phonegap-plugin-push.git","svn_url":"https://github.com/BobCaSUaL/phonegap-plugin-push","homepage":null,"size":23277,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/pulls/1"},"html":{"href":"https://github.com/BobCaSUaL/phonegap-plugin-push/pull/1"},"issue":{"href":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/issues/1"},"comments":{"href":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/BobCaSUaL/phonegap-plugin-push/statuses/097fe464a214f1b6999c3879014566416d251fe8"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":26,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"BobCaSUaL"}}