mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2024-11-14 03:24:54 +00:00
Support for Android
This commit is contained in:
parent
859bb58b5c
commit
eba37c4aca
@ -7,6 +7,7 @@ by Sebastián Katzer ([github.com/katzer](https://github.com/katzer))
|
||||
|
||||
## Supported Platforms
|
||||
- **iOS** (>=5)
|
||||
- **Android**
|
||||
- **WP8**
|
||||
|
||||
## Adding the Plugin to your project
|
||||
@ -26,6 +27,9 @@ cordova plugin rm de.appplant.cordova.plugin.background-mode
|
||||
```
|
||||
|
||||
## Release Notes
|
||||
#### Version 0.5.0 (13.02.2014)
|
||||
- Added Android support.
|
||||
|
||||
#### Version 0.4.1 (13.02.2014)
|
||||
- Release under the Apache 2.0 license.
|
||||
- [enhancement:] Location tracking is only activated on WP8 if the location service is available.
|
||||
|
11
plugin.xml
11
plugin.xml
@ -3,13 +3,13 @@
|
||||
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
id="de.appplant.cordova.plugin.background-mode"
|
||||
version="0.4.1">
|
||||
version="0.5.0dev">
|
||||
|
||||
<name>BackgroundMode</name>
|
||||
|
||||
<description>A bunch of background mode plugins for Cordova 3.x.x</description>
|
||||
<repo>https://github.com/katzer/cordova-plugin-background-mode.git</repo>
|
||||
<keywords>background, ios, windows phone 8, wp8</keywords>
|
||||
<keywords>background, ios, windows phone 8, wp8, android</keywords>
|
||||
<license>Apache 2.0</license>
|
||||
|
||||
<author>Sebastián Katzer</author>
|
||||
@ -47,6 +47,13 @@
|
||||
<source-file src="src/ios/APPBackgroundMode.m" />
|
||||
</platform>
|
||||
|
||||
<!-- android -->
|
||||
<platform name="android">
|
||||
<config-file target="config.xml" parent="/*">
|
||||
<preference name="KeepRunning" value="true" />
|
||||
</config-file>
|
||||
</platform>
|
||||
|
||||
<!-- wp8 -->
|
||||
<platform name="wp8">
|
||||
<config-file target="config.xml" parent="/*">
|
||||
|
Loading…
Reference in New Issue
Block a user