forked from pchab/cordova-plugin-downloader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
64 lines (45 loc) · 1.71 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
<?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-x-downloader"
version="0.2.1">
<name>Downloader</name>
<description>Cordova plugin for downloading feature in jamendo music app</description>
<repo>https://github.com/jamendo/cordova-plugin-downloader.git</repo>
<keywords>music, download, mobile</keywords>
<license>Apache 2.0 License</license>
<author>Pierre Chabardes</author>
<!-- cordova -->
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<!-- js -->
<js-module src="www/Downloader.js" name="Downloader">
<clobbers target="plugins.Downloader" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
</config-file>
<!-- <source-file
src="src/android/libs/support-v4-19.0.0.jar" target-dir="libs/" /> -->
<source-file
src="src/android/com/pchab/android/plugin/Downloader.java"
target-dir="src/com/pchab/android/plugin" />
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Downloader">
<param name="android-package" value="com.pchab.android.plugin.Downloader" />
</feature>
</config-file>
</platform>
<!-- ios -->
<platform name="ios">
<source-file src="src/ios/Downloader.swift" />
<config-file target="config.xml" parent="/*">
<feature name="Downloader">
<param name="ios-package" value="Downloader" />
</feature>
</config-file>
</platform>
</plugin>