3
0
mirror of https://github.com/danielsogl/awesome-cordova-plugins.git synced 2025-05-15 23:44:22 +08:00

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

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

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