Skip to content

A simple Phonegap Plugin to enable background location update on iOS

License

Notifications You must be signed in to change notification settings

luigi37/BackgroundLocationEnabler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BackgroundLocationEnabler

A simple Phonegap Plugin to enable background location update on iOS

Has to be used in conjunction with :

geolocation.watchPosition()

Unlimited background location

If your device is not moving, iOS will suspend background location after 10 minutes.

To go beyond this limit, use the following method :

BackgroundLocationEnabler.enableUnlimited()

note: Since Phonegap 3.1.0 it seems that the use of this method is not needed anymore.

IMPORTANT

There is a bug in cordova that makes this plugin crashing the app.

https://issues.apache.org/jira/browse/CB-5262

When modifying a key in .plist file with config-file tag in plugin.xml some white spaces are added in some other keys (NSMainNibFile and NSMainNibFile~ipad)

As Cordova & Phonegap teams do not fix this, it's needed to erase those white spaces manualy :/

About

A simple Phonegap Plugin to enable background location update on iOS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 61.9%
  • JavaScript 38.1%