This repository has been archived by the owner on Dec 14, 2018. It is now read-only.
forked from jeduan/cordova-plugin-crop
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplugin.xml
54 lines (54 loc) · 2.36 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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-crop" version="0.4.0">
<name>CropPlugin</name>
<description>
Crop an image in a Cordova app
</description>
<license>MIT</license>
<engines>
<engine name="cordova-android" version=">=4.0.0"/>
<engine name="cordova-ios" version=">=3.5.0"/>
</engines>
<js-module src="www/crop.js" name="CropPlugin">
<clobbers target="plugins.crop"/>
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="CropPlugin">
<param name="ios-package" value="CTCrop"/>
</feature>
</config-file>
<header-file src="src/ios/CTCrop.h"/>
<header-file src="src/ios/Lib/ImageHelpers.h"/>
<header-file src="src/ios/Lib/PECropRectView.h"/>
<header-file src="src/ios/Lib/PECropView.h"/>
<header-file src="src/ios/Lib/PECropViewController.h"/>
<header-file src="src/ios/Lib/PEResizeControl.h"/>
<header-file src="src/ios/Lib/UIImage+PECrop.h"/>
<source-file src="src/ios/CTCrop.m"/>
<source-file src="src/ios/Lib/ImageHelpers.m"/>
<source-file src="src/ios/Lib/PECropRectView.m"/>
<source-file src="src/ios/Lib/PECropView.m"/>
<source-file src="src/ios/Lib/PECropViewController.m"/>
<source-file src="src/ios/Lib/PEResizeControl.m"/>
<source-file src="src/ios/Lib/UIImage+PECrop.m"/>
<resource-file src="src/ios/Lib/PEPhotoCropEditor.bundle"/>
<framework src="QuartzCore.framework"/>
<framework src="AVFoundation.framework"/>
</platform>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="CropPlugin">
<param name="android-package" value="com.jeduan.crop.CropPlugin"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="com.soundcloud.android.crop.CropImageActivity"/>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
</config-file>
<framework src="com.soundcloud.android:android-crop:1.0.0@aar"/>
<source-file src="src/android/CropPlugin.java" target-dir="src/com/jeduan/crop"/>
</platform>
</plugin>