forked from sgrebnov/cordova-plugin-background-download
-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
executable file
·76 lines (64 loc) · 2.74 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?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="cordova-plugin-background-download"
version="0.5.0">
<name>Background Download</name>
<description>Cordova Background Download Plugin</description>
<license>Apache 2.0</license>
<keywords>cordova,background,file,download</keywords>
<repo>TODO</repo>
<issue>TODO</issue>
<js-module src="www/Promise.js" name="Promise">
</js-module>
<js-module src="www/BackgroundDownloader.js" name="BackgroundDownloader">
<clobbers target="BackgroundTransfer.BackgroundDownloader" />
</js-module>
<js-module src="www/DownloadOperation.js" name="DownloadOperation">
<clobbers target="DownloadOperation" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="BackgroundDownload" >
<param name="android-package" value="org.apache.cordova.backgroundDownload.BackgroundDownload"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</config-file>
<source-file src="src/android/BackgroundDownload.java" target-dir="src/org/apache/cordova/backgroundDownload" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="BackgroundDownload">
<param name="ios-package" value="BackgroundDownload" />
</feature>
</config-file>
<header-file src="src/ios/BackgroundDownload.h" />
<source-file src="src/ios/BackgroundDownload.m" />
</platform>
<!-- wp8 -->
<platform name="wp8">
<config-file target="config.xml" parent="/*">
<feature name="BackgroundDownload">
<param name="wp-package" value="BackgroundDownload"/>
</feature>
</config-file>
<source-file src="src/wp/BackgroundDownload.cs" />
</platform>
<!-- windows8 -->
<platform name="windows8">
<js-module src="src/windows/BackgroundDownloadProxy.js" name="BackgroundDownload">
<merges target="" />
</js-module>
</platform>
<!-- windows -->
<platform name="windows">
<js-module src="src/windows/BackgroundDownloadProxy.js" name="BackgroundDownload">
<merges target="" />
</js-module>
</platform>
</plugin>