fix(background-mode): configure doesn't return anything

closes #1457
This commit is contained in:
Ibby Hadeed 2017-05-17 06:51:43 -04:00
parent d8eb621da4
commit 92ef4f0c33

View File

@ -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`.