Skip to content

Commit

Permalink
fix(background-mode): add missing method (#1486)
Browse files Browse the repository at this point in the history
fix #1393
  • Loading branch information
danielsogl authored and ihadeed committed May 9, 2017
1 parent a4151ab commit e6a647b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/@ionic-native/plugins/background-mode/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit e6a647b

Please sign in to comment.