{"action":"created","issue":{"url":"https://api.github.com/repos/raix/push/issues/268","repository_url":"https://api.github.com/repos/raix/push","labels_url":"https://api.github.com/repos/raix/push/issues/268/labels{/name}","comments_url":"https://api.github.com/repos/raix/push/issues/268/comments","events_url":"https://api.github.com/repos/raix/push/issues/268/events","html_url":"https://github.com/raix/push/issues/268","id":189149588,"number":268,"title":"Clearing Badge Icons from Client","user":{"login":"gkrizek","id":8949695,"avatar_url":"https://avatars1.githubusercontent.com/u/8949695?v=4","gravatar_id":"","url":"https://api.github.com/users/gkrizek","html_url":"https://github.com/gkrizek","followers_url":"https://api.github.com/users/gkrizek/followers","following_url":"https://api.github.com/users/gkrizek/following{/other_user}","gists_url":"https://api.github.com/users/gkrizek/gists{/gist_id}","starred_url":"https://api.github.com/users/gkrizek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkrizek/subscriptions","organizations_url":"https://api.github.com/users/gkrizek/orgs","repos_url":"https://api.github.com/users/gkrizek/repos","events_url":"https://api.github.com/users/gkrizek/events{/privacy}","received_events_url":"https://api.github.com/users/gkrizek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-14T15:58:04Z","updated_at":"2017-07-30T16:59:24Z","closed_at":null,"body":"Is there a way to clear badge icons from the client?\r\n\r\nFor example: If someone has the app open while a notification comes in, it doesn't make a sound or show the notification, but it still adds the badge icon to app's icon. Is there a way to clear this from the client without forcing the user to exit the app and reopen it to clear it?\r\n\r\nThe only way I can see to clear the badge icon without the user's action is to send a new notification with a blank payload and a badge of 0."},"comment":{"url":"https://api.github.com/repos/raix/push/issues/comments/318914630","html_url":"https://github.com/raix/push/issues/268#issuecomment-318914630","issue_url":"https://api.github.com/repos/raix/push/issues/268","id":318914630,"user":{"login":"Makss24","id":11667391,"avatar_url":"https://avatars2.githubusercontent.com/u/11667391?v=4","gravatar_id":"","url":"https://api.github.com/users/Makss24","html_url":"https://github.com/Makss24","followers_url":"https://api.github.com/users/Makss24/followers","following_url":"https://api.github.com/users/Makss24/following{/other_user}","gists_url":"https://api.github.com/users/Makss24/gists{/gist_id}","starred_url":"https://api.github.com/users/Makss24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Makss24/subscriptions","organizations_url":"https://api.github.com/users/Makss24/orgs","repos_url":"https://api.github.com/users/Makss24/repos","events_url":"https://api.github.com/users/Makss24/events{/privacy}","received_events_url":"https://api.github.com/users/Makss24/received_events","type":"User","site_admin":false},"created_at":"2017-07-30T16:59:24Z","updated_at":"2017-07-30T16:59:24Z","body":"I don't know if we can use phonegap-plugin-push native functions, otherwise, clear notifications must be right with https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/API.md#pushclearallnotificationssuccesshandler-errorhandler---ios--android-only\r\n\r\nBut thanks you for your answer. It's will be easier."}}
{"actor":{"display_login":"Makss24"}}