{"action":"created","issue":{"url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/1530","repository_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push","labels_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/1530/labels{/name}","comments_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/1530/comments","events_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/1530/events","html_url":"https://github.com/phonegap/phonegap-plugin-push/issues/1530","id":201470823,"number":1530,"title":"push.clearAllNotifications does not work in Ionic v2","user":{"login":"uj","id":605732,"avatar_url":"https://avatars.githubusercontent.com/u/605732?v=3","gravatar_id":"","url":"https://api.github.com/users/uj","html_url":"https://github.com/uj","followers_url":"https://api.github.com/users/uj/followers","following_url":"https://api.github.com/users/uj/following{/other_user}","gists_url":"https://api.github.com/users/uj/gists{/gist_id}","starred_url":"https://api.github.com/users/uj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uj/subscriptions","organizations_url":"https://api.github.com/users/uj/orgs","repos_url":"https://api.github.com/users/uj/repos","events_url":"https://api.github.com/users/uj/events{/privacy}","received_events_url":"https://api.github.com/users/uj/received_events","type":"User","site_admin":false},"labels":[{"id":382936834,"url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/labels/ionic","name":"ionic","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-01-18T03:34:56Z","updated_at":"2017-01-19T12:28:30Z","closed_at":null,"body":"Ionic v2 RC4\r\nphonegap-plugin-push v1.8.4\r\n\r\nionic plugin add phonegap-plugin-push@1.8.4 --variable SENDER_ID=xxxxxxxxxx\r\n\r\nimport {Push} from \"ionic-native\"\r\n\r\nlet push=Push.init(....) <--- THIS WORKS\r\n\r\npush.on(...) <--- THIS WORKS\r\npush.finish(...) <--- THIS WORKS\r\n\r\nI can successfully receive push notifications.  The problem is that I cannot clear the notifications from the app, as though \"clearAllNotifications\" is not an available option.\r\n\r\npush.clearAllNotifications(...) <-- ERROR HERE:   Property 'clearAllNotifications' does not exist on type 'PushNotification'.\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/comments/273764516","html_url":"https://github.com/phonegap/phonegap-plugin-push/issues/1530#issuecomment-273764516","issue_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/1530","id":273764516,"user":{"login":"fredgalvao","id":616464,"avatar_url":"https://avatars.githubusercontent.com/u/616464?v=3","gravatar_id":"","url":"https://api.github.com/users/fredgalvao","html_url":"https://github.com/fredgalvao","followers_url":"https://api.github.com/users/fredgalvao/followers","following_url":"https://api.github.com/users/fredgalvao/following{/other_user}","gists_url":"https://api.github.com/users/fredgalvao/gists{/gist_id}","starred_url":"https://api.github.com/users/fredgalvao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredgalvao/subscriptions","organizations_url":"https://api.github.com/users/fredgalvao/orgs","repos_url":"https://api.github.com/users/fredgalvao/repos","events_url":"https://api.github.com/users/fredgalvao/events{/privacy}","received_events_url":"https://api.github.com/users/fredgalvao/received_events","type":"User","site_admin":false},"created_at":"2017-01-19T12:28:30Z","updated_at":"2017-01-19T12:28:30Z","body":"I'll open an issue to mirror the current state of the api and settings/options to DefinitelyTyped, and also review some stuff for ts@2.1, but I doubt this will automagically fix things on ionic's end. We still need the guys over there to either [wait for my update, then copy the updated file over to ionic-native] or [just update ionic-native directly]."}}
{"actor":{"display_login":"fredgalvao"}}