mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2024-12-23 13:57:35 +00:00
src/ios | ||
LICENSE | ||
plugin.xml | ||
README.md |
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>