Skip to content

Commit

Permalink
fix(background-mode): configure doesn't return anything
Browse files Browse the repository at this point in the history
closes #1457
  • Loading branch information
ihadeed committed May 17, 2017
1 parent d8eb621 commit 92ef4f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/@ionic-native/plugins/background-mode/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,10 @@ export class BackgroundMode extends IonicNativePlugin {
* @param {BackgroundModeConfiguration} options Any options you want to update. See table below.
*/
@Cordova({
platforms: ['Android']
platforms: ['Android'],
sync: true
})
configure(options?: BackgroundModeConfiguration): Promise<any> { return; }
configure(options?: BackgroundModeConfiguration): void {}

/**
* Listen for events that the plugin fires. Available events are `enable`, `disable`, `activate`, `deactivate` and `failure`.
Expand Down

0 comments on commit 92ef4f0

Please sign in to comment.