Go to file
2013-10-09 10:54:57 +02:00
src Added js interface 2013-10-09 10:50:15 +02:00
www Fix wrong class name 2013-10-09 10:54:57 +02:00
LICENSE Initial commit 2013-10-08 01:28:55 -07:00
plugin.xml Added js interface 2013-10-09 10:50:15 +02:00
README.md Release version 0.2.0 2013-10-08 16:41:24 +02:00

Cordova BackgroundMode-Plugin

A bunch of background mode plugins for Cordova 3.x.x

by Sebastián Katzer (github.com/katzer)

Supported Platforms

  • iOS (>=5)

Adding the Plugin to your project

Through the Command-line Interface:

cordova plugin add https://github.com/katzer/cordova-plugin-background-mode.git

Removing the Plugin from your project

Through the Command-line Interface:

cordova plugin rm de.appplant.cordova.plugin.background-mode

Release Notes

Version 0.2.0 (08.10.2013)

  • Added iOS (>= 5) support
    The plugin turns the app into an location tracking app for the time it runs in the background.

Using the plugin

The plugin comes without a js interface. Simply add the plugin to your project and the app will run while in background mode.

iOS 5-6
The app still runs in background, even if the location service is not active.

iOS 7
The location service needs to be enabled.

Quirks

The app crashes under iOS

If the app crashes after installing the plugin, make sure that your *-Info.plist is valid. Do to some bugs in cordova or Plugman please reset all occurences like

<key>NSMainNibFile</key>
<string>

</string>

into

<key>NSMainNibFile</key>
<string></string>