{"action":"created","issue":{"url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/912","repository_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push","labels_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/912/labels{/name}","comments_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/912/comments","events_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/912/events","html_url":"https://github.com/phonegap/phonegap-plugin-push/issues/912","id":156057069,"node_id":"MDU6SXNzdWUxNTYwNTcwNjk=","number":912,"title":".init usage, how can I tell if a change was made?","user":{"login":"avielfedida","id":7274113,"node_id":"MDQ6VXNlcjcyNzQxMTM=","avatar_url":"https://avatars3.githubusercontent.com/u/7274113?v=4","gravatar_id":"","url":"https://api.github.com/users/avielfedida","html_url":"https://github.com/avielfedida","followers_url":"https://api.github.com/users/avielfedida/followers","following_url":"https://api.github.com/users/avielfedida/following{/other_user}","gists_url":"https://api.github.com/users/avielfedida/gists{/gist_id}","starred_url":"https://api.github.com/users/avielfedida/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avielfedida/subscriptions","organizations_url":"https://api.github.com/users/avielfedida/orgs","repos_url":"https://api.github.com/users/avielfedida/repos","events_url":"https://api.github.com/users/avielfedida/events{/privacy}","received_events_url":"https://api.github.com/users/avielfedida/received_events","type":"User","site_admin":false},"labels":[{"id":196374009,"node_id":"MDU6TGFiZWwxOTYzNzQwMDk=","url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-05-20T21:46:20Z","updated_at":"2018-06-04T20:36:46Z","closed_at":"2016-05-22T09:22:16Z","author_association":"NONE","body":"The api reference says:\n\n> you will want to call PushNotification.init() each time your app starts. The remote push service can periodically reset your registration ID so this ensures you have the correct value.\n\nI understand the registration ID can change, after a change was made, how do I know about that change, about the new registration ID, from the statement above: `this ensures you have the correct value`, do I?, I mean I need the new registration ID to update my server.\n\n**My question:**\nHow do I get the new registration ID?, Should I reattach the 'registration' handler, and compare the old registration ID with the new one?\n"},"comment":{"url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/comments/394490647","html_url":"https://github.com/phonegap/phonegap-plugin-push/issues/912#issuecomment-394490647","issue_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/912","id":394490647,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDQ5MDY0Nw==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-06-04T20:36:46Z","updated_at":"2018-06-04T20:36:46Z","author_association":"NONE","body":"This thread has been automatically locked."}}
{"actor":{"display_login":"lock"}}