From 70847d1b2b6a68b520d01a4ab203c544d4b30a41 Mon Sep 17 00:00:00 2001 From: 3dd13 Date: Sun, 19 Feb 2017 06:14:57 +0800 Subject: [PATCH] fix(push): add the missing option clearBadge (#1087) --- src/plugins/push.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/plugins/push.ts b/src/plugins/push.ts index ae1c24507..c8e8d144a 100644 --- a/src/plugins/push.ts +++ b/src/plugins/push.ts @@ -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. */