This repository has been archived by the owner on Mar 12, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 90
/
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="com.raananw.imageResizer"
version="0.1.2">
<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="org.apache.cordova.file" version="1.0.1" />
<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>