Skip to content

Commit

Permalink
fix(background-mode): add missing config options
Browse files Browse the repository at this point in the history
closes #1277
  • Loading branch information
ihadeed committed Mar 28, 2017
1 parent ee79278 commit 9c30a1d
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions src/@ionic-native/plugins/background-mode/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 <icon name>.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;

}

/**
Expand Down

1 comment on commit 9c30a1d

@JeanRoldanDev
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add data post url?
whats is solution?
postTemplate: {
lat: '@latitude',
lon: '@longitude',
foo: 'bar' // you can also add your own properties
}

Please sign in to comment.