{"action":"created","issue":{"url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/624","repository_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push","labels_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/624/labels{/name}","comments_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/624/comments","events_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/624/events","html_url":"https://github.com/phonegap/phonegap-plugin-push/pull/624","id":133947842,"number":624,"title":"Add setApplicationIconBadgeNumber action for Android, using ShortcutBadger","user":{"login":"barryvdh","id":973269,"avatar_url":"https://avatars.githubusercontent.com/u/973269?v=3","gravatar_id":"","url":"https://api.github.com/users/barryvdh","html_url":"https://github.com/barryvdh","followers_url":"https://api.github.com/users/barryvdh/followers","following_url":"https://api.github.com/users/barryvdh/following{/other_user}","gists_url":"https://api.github.com/users/barryvdh/gists{/gist_id}","starred_url":"https://api.github.com/users/barryvdh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barryvdh/subscriptions","organizations_url":"https://api.github.com/users/barryvdh/orgs","repos_url":"https://api.github.com/users/barryvdh/repos","events_url":"https://api.github.com/users/barryvdh/events{/privacy}","received_events_url":"https://api.github.com/users/barryvdh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/milestones/7","html_url":"https://github.com/phonegap/phonegap-plugin-push/milestones/Release%201.7.0","labels_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/milestones/7/labels","id":1589534,"number":7,"title":"Release 1.7.0","description":"","creator":{"login":"macdonst","id":353180,"avatar_url":"https://avatars.githubusercontent.com/u/353180?v=3","gravatar_id":"","url":"https://api.github.com/users/macdonst","html_url":"https://github.com/macdonst","followers_url":"https://api.github.com/users/macdonst/followers","following_url":"https://api.github.com/users/macdonst/following{/other_user}","gists_url":"https://api.github.com/users/macdonst/gists{/gist_id}","starred_url":"https://api.github.com/users/macdonst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macdonst/subscriptions","organizations_url":"https://api.github.com/users/macdonst/orgs","repos_url":"https://api.github.com/users/macdonst/repos","events_url":"https://api.github.com/users/macdonst/events{/privacy}","received_events_url":"https://api.github.com/users/macdonst/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":0,"state":"open","created_at":"2016-02-17T21:54:14Z","updated_at":"2016-03-14T15:44:01Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-02-16T10:55:23Z","updated_at":"2016-03-14T15:50:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/pulls/624","html_url":"https://github.com/phonegap/phonegap-plugin-push/pull/624","diff_url":"https://github.com/phonegap/phonegap-plugin-push/pull/624.diff","patch_url":"https://github.com/phonegap/phonegap-plugin-push/pull/624.patch"},"body":"Adds https://github.com/leolin310148/ShortcutBadger support for Android badges, using `setApplicationIconBadgeNumber()`\r\n\r\nThis doesn't automatically update when `data.count` is available, so for background updates, you need `content-available`. Perhaps that could be added, but not really sure how to do that the best way.\r\nFixes #622 "},"comment":{"url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/comments/196378440","html_url":"https://github.com/phonegap/phonegap-plugin-push/pull/624#issuecomment-196378440","issue_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/624","id":196378440,"user":{"login":"barryvdh","id":973269,"avatar_url":"https://avatars.githubusercontent.com/u/973269?v=3","gravatar_id":"","url":"https://api.github.com/users/barryvdh","html_url":"https://github.com/barryvdh","followers_url":"https://api.github.com/users/barryvdh/followers","following_url":"https://api.github.com/users/barryvdh/following{/other_user}","gists_url":"https://api.github.com/users/barryvdh/gists{/gist_id}","starred_url":"https://api.github.com/users/barryvdh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barryvdh/subscriptions","organizations_url":"https://api.github.com/users/barryvdh/orgs","repos_url":"https://api.github.com/users/barryvdh/repos","events_url":"https://api.github.com/users/barryvdh/events{/privacy}","received_events_url":"https://api.github.com/users/barryvdh/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T15:50:17Z","updated_at":"2016-03-14T15:50:17Z","body":"This PR is updated to support both GCM intents + direct setting with `setApplicationIconBadgeNumber()`. When the `count` property is set in a GCM message, it should set the badge directly now."}}