-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathplugin.xml
More file actions
72 lines (58 loc) · 3.02 KB
/
plugin.xml
File metadata and controls
72 lines (58 loc) · 3.02 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
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
65
66
67
68
69
70
71
72
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-k-imagecropper"
version="1.2.0">
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<name>KImageCropper</name>
<description>Plugin for cropping images with aspect ratio</description>
<author>Krishnendu Sekhar Das</author>
<keywords>Image Cropping</keywords>
<license>MIT</license>
<js-module src="www/imagecropper.js" name="imagecropper">
<clobbers target="window.plugins.k.imagecropper" />
</js-module>
<!-- Android -->
<platform name="android">
<preference name="ANDROID_SUPPORT_APPCOMPAT_VERSION" default="27.+"/>
<framework src="com.theartofdev.edmodo:android-image-cropper:2.7.+" />
<framework src="com.android.support:appcompat-v7:$ANDROID_SUPPORT_APPCOMPAT_VERSION"/>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="KImageCropper">
<param name="android-package" value="in.co.indusnet.plugins.cordova.imagecropper.KImageCropper" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="com.theartofdev.edmodo.cropper.CropImageActivity" android:theme="@style/Base.Theme.AppCompat"/>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</config-file>
<source-file src="src/android/KImageCropper.java" target-dir="src/in/co/indusnet/plugins/cordova/imagecropper"/>
</platform>
<!-- iOS -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="KImageCropper">
<param name="ios-package" value="KImageCropper" />
</feature>
</config-file>
<framework src="QuartzCore.framework" />
<framework src="AVFoundation.framework" />
<header-file src="src/ios/lib/PEPhotoCrop/PECropRectView.h" />
<source-file src="src/ios/lib/PEPhotoCrop/PECropRectView.m" />
<header-file src="src/ios/lib/PEPhotoCrop/PECropView.h" />
<source-file src="src/ios/lib/PEPhotoCrop/PECropView.m" />
<header-file src="src/ios/lib/PEPhotoCrop/PECropViewController.h" />
<source-file src="src/ios/lib/PEPhotoCrop/PECropViewController.m" />
<header-file src="src/ios/lib/PEPhotoCrop/PEResizeControl.h" />
<source-file src="src/ios/lib/PEPhotoCrop/PEResizeControl.m" />
<header-file src="src/ios/lib/PEPhotoCrop/UIImage+PECrop.h" />
<source-file src="src/ios/lib/PEPhotoCrop/UIImage+PECrop.m" />
<resource-file src="src/ios/lib/PEPhotoCrop/PEPhotoCropEditor.bundle" />
<header-file src="src/ios/KImageCropper.h" />
<source-file src="src/ios/KImageCropper.m" />
</platform>
</plugin>