forked from Github/cordova-plugin-run-in-background
Support for Android
This commit is contained in:
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="/*">
|
||||
|
||||
Reference in New Issue
Block a user