Skip to content

Cordova plugin to persist watchPosition in background of Android System WebView

Notifications You must be signed in to change notification settings

cloudscapelabs/cordova-background-watchposition

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BackgroundWatchPosition Plugin

Cordova plugin that forces Android System WebView to think that it's window is still visible when your app is running in the background.

This has been implemented after Chromium decided to disable watchPosition (and getCurrentPosition) when the browser is not in the foreground. Justifiably so, but a lot of Cordova applications did not expect this.

Copyright: Geotab Author: Mike Murkovic

About

Cordova plugin to persist watchPosition in background of Android System WebView

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 89.7%
  • JavaScript 10.3%