forked from RaananW/PhoneGap-Image-Resizer
-
Notifications
You must be signed in to change notification settings - Fork 6
/
plugin.xml
58 lines (43 loc) · 1.76 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.webXells.imageResizer"
version="1.0.0">
<name>ImageResizer</name>
<description>
The plugin will resize images natively using phonegap/cordova's plugin architecture
</description>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="ImageResizer">
<param name="android-package" value="com.phonegap.plugins.barcodescanner.BarcodeScanner"/>
</feature>
</config-file>
<source-file src="src/Android/com/webXells/ImageResizer/ImageResizePlugin.java" target-dir="src/com/webXells/ImageResizer/" />
<js-module src="www/imageresize.js" name="imageresizer">
<clobbers target="plugins.imageResizer" />
</js-module>
</platform>
<!-- ios -->
<platform name="ios">
<!-- Cordova >= 2.3 -->
<config-file target="config.xml" parent="/*">
<feature name="ImageResizer">
<param name="ios-package" value="ImageResizer"/>
</feature>
</config-file>
<source-file src="src/ios/ImageResize.m" />
<source-file src="src/ios/NSData+Base64.m" />
<source-file src="src/ios/UIImage+Scale.m" />
<header-file src="src/ios/ImageResize.h" />
<header-file src="src/ios/NSData+Base64.h" />
<header-file src="src/ios/UIImage+Scale.h" />
<js-module src="www/imageresize.js" name="imageresizer">
<clobbers target="plugins.imageResizer" />
</js-module>
</platform>
</plugin>