Skip to content

Commit

Permalink
fix(push): add the missing option clearBadge (#1087)
Browse files Browse the repository at this point in the history
  • Loading branch information
3dd13 authored and ihadeed committed Feb 18, 2017
1 parent ff26f2a commit 70847d1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/plugins/push.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,11 @@ export interface AndroidPushOptions {
*/
vibrate?: boolean | string;

/**
* If true the icon badge will be cleared on init and before push messages are processed.
*/
clearBadge?: boolean | string;

/**
* If true the app clears all pending notifications when it is closed.
*/
Expand Down

0 comments on commit 70847d1

Please sign in to comment.