-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
36 lines (29 loc) · 1.22 KB
/
plugin.xml
File metadata and controls
36 lines (29 loc) · 1.22 KB
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
<?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.custom.compress.Compress"
version="0.2">
<name>Compress</name>
<description>Cordova Compress Plugin</description>
<license>Apache 2.0</license>
<keywords>cordova,compress</keywords>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<js-module src="www/Compress.js" name="Compress">
<clobbers target="window.plugins.compress" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Compress">
<param name="android-package" value="com.custom.compress.Compress"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" />
</config-file>
<source-file src="src/android/Compress.java" target-dir="src/com/custom/compress" />
</platform>
</plugin>