fix(background-mode): add missing method (#1486)

fix #1393
This commit is contained in:
Daniel Sogl 2017-05-09 23:31:01 +02:00 committed by Ibby Hadeed
parent a4151abebf
commit e6a647b08b

View File

@ -150,6 +150,15 @@ export class BackgroundMode extends IonicNativePlugin {
})
moveToBackground(): void { }
/**
* Enable GPS-tracking in background (Android).
*/
@Cordova({
platforms: ['Android'],
sync: true
})
disableWebViewOptimizations (): void { }
/**
* Android allows to programmatically move from background to foreground.
*/