From 9c30a1d0dd5a8c77dd23e35557f32c61e98d0a06 Mon Sep 17 00:00:00 2001 From: Ibby Hadeed Date: Tue, 28 Mar 2017 04:31:53 -0400 Subject: [PATCH] fix(background-mode): add missing config options closes #1277 --- .../plugins/background-mode/index.ts | 25 +++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/src/@ionic-native/plugins/background-mode/index.ts b/src/@ionic-native/plugins/background-mode/index.ts index 4b28ddca0..31f15c867 100644 --- a/src/@ionic-native/plugins/background-mode/index.ts +++ b/src/@ionic-native/plugins/background-mode/index.ts @@ -13,26 +13,37 @@ export interface BackgroundModeConfiguration { */ title?: String; - /** - * The text that scrolls itself on statusbar - */ - ticker?: String; - /** * Description of background task */ text?: String; /** - * if true plugin will not display a notification. Default is false. + * This will look for .png in platforms/android/res/drawable|mipmap */ - silent?: boolean; + icon?: string; + + color?: string; /** * By default the app will come to foreground when taping on the notification. If false, plugin wont come to foreground when tapped. */ resume?: boolean; + hidden?: boolean; + + bigText?: boolean; + + /** + * The text that scrolls itself on statusbar + */ + ticker?: String; + + /** + * if true plugin will not display a notification. Default is false. + */ + silent?: boolean; + } /**