forked from Red-Folder/bgs-sample
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
42 lines (31 loc) · 1.58 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.red_folder.phonegap.plugin.backgroundservice.sample"
version="2.0.0">
<name>Background Service Plugin - Sample Background Service</name>
<description>
Sample service to demonstrate the use of the Cordova Android Background Service
</description>
<license>Apache 2.0</license>
<engines>
<engine name="cordova" version=">=3.0.0"/>
</engines>
<!-- Load in the core background service -->
<dependency id="com.red_folder.phonegap.plugin.backgroundservice" url="https://github.com/sluglit/bgs-core.git"/>
<!-- android -->
<platform name="android">
<asset src="www/myService.html" target="myService.html" />
<js-module src="www/myService.js" name="MyService">
<clobbers target="cordova.plugins.myService" />
</js-module>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<service android:name="com.red_folder.phonegap.plugin.backgroundservice.sample.MyService">
<intent-filter>
<action android:name="com.red_folder.phonegap.plugin.backgroundservice.sample.MyService"/>
</intent-filter>
</service>
</config-file>
<source-file src="src/android/com/red_folder/phonegap/plugin/backgroundservice/sample/MyService.java" target-dir="src/com/red_folder/phonegap/plugin/backgroundservice/sample" />
</platform>
</plugin>