forked from RaananW/PhoneGap-Image-Resizer
-
Notifications
You must be signed in to change notification settings - Fork 22
/
plugin.xml
51 lines (40 loc) · 1.5 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
<?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="cordova-plugin-image-resizer"
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>
<dependency id="cordova-plugin-file" version=">=2.0.0" />
<js-module src="www/imageresize.js" name="ImageResizePlugin">
<clobbers target="plugins.imageResizer" />
</js-module>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="ImageResizePlugin">
<param name="ios-package" value="ImageResize"/>
</feature>
</config-file>
<header-file src="src/ios/ImageResize.h" />
<source-file src="src/ios/ImageResize.m" />
<header-file src="src/ios/NSData+Base64.h" />
<source-file src="src/ios/NSData+Base64.m" compiler-flags="-fno-objc-arc" />
<header-file src="src/ios/UIImage+Scale.h" />
<source-file src="src/ios/UIImage+Scale.m" />
</platform>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="ImageResizePlugin">
<param name="android-package" value="com.raananw.ImageResizePlugin"/>
</feature>
</config-file>
<source-file src="src/Android/com/raananw/ImageResizer/ImageResizePlugin.java" target-dir="src/com/raananws" />
</platform>
</plugin>