{"action":"opened","issue":{"url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/386","labels_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/386/labels{/name}","comments_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/386/comments","events_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/386/events","html_url":"https://github.com/phonegap/phonegap-plugin-push/issues/386","id":119439032,"number":386,"title":"Register event not getting called on ios","user":{"login":"dhavalmaru","id":15320054,"avatar_url":"https://avatars.githubusercontent.com/u/15320054?v=3","gravatar_id":"","url":"https://api.github.com/users/dhavalmaru","html_url":"https://github.com/dhavalmaru","followers_url":"https://api.github.com/users/dhavalmaru/followers","following_url":"https://api.github.com/users/dhavalmaru/following{/other_user}","gists_url":"https://api.github.com/users/dhavalmaru/gists{/gist_id}","starred_url":"https://api.github.com/users/dhavalmaru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhavalmaru/subscriptions","organizations_url":"https://api.github.com/users/dhavalmaru/orgs","repos_url":"https://api.github.com/users/dhavalmaru/repos","events_url":"https://api.github.com/users/dhavalmaru/events{/privacy}","received_events_url":"https://api.github.com/users/dhavalmaru/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-30T08:04:29Z","updated_at":"2015-11-30T08:04:29Z","closed_at":null,"body":"We are trying push notification for IOS but Register event is not getting called\r\n\r\nMy code:\r\n var push = PushNotification.init({\r\n                                     \r\n                                     \"ios\": {\"alert\": \"true\", \"badge\": \"true\", \"sound\": \"true\"}\r\n                                     \r\n                                     });\r\n    \r\n    push.on('registration', function(data) {\r\n            \r\n            alert(data.registrationId);\r\n            });\r\n\r\nPlease help me out with this"}}