-
Notifications
You must be signed in to change notification settings - Fork 6
/
plugin.xml
executable file
·46 lines (38 loc) · 2.09 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-thumbnail" version="1.0.0">
<name>Thumbnail</name>
<description>Cordova Thumbnail Plugin</description>
<license>Apache 2.0</license>
<keywords>cordova,thumbnail,Android,iOS</keywords>
<js-module src="www/thumbnail.js" name="Thumbnails">
<clobbers target="window.Thumbnails"/>
</js-module>
<dependency id="cordova-plugin-file"/>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Thumbnails">
<param name="android-package" value="com.cordova.plugin.thumbnail.ThumbnailsCordovaPlugin"/>
<param name="onload" value="true"/>
</feature>
</config-file>
<!-- <config-file target="AndroidManifest.xml" parent="/*"> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> </config-file> -->
<source-file src="src/android/SourcePathNotFoundException.java" target-dir="src/com/cordova/plugin/thumbnail"/>
<source-file src="src/android/TargetPathNotFoundException.java" target-dir="src/com/cordova/plugin/thumbnail"/>
<source-file src="src/android/Thumbnails.java" target-dir="src/com/cordova/plugin/thumbnail"/>
<source-file src="src/android/ThumbnailsCordovaPlugin.java" target-dir="src/com/cordova/plugin/thumbnail"/>
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Thumbnails">
<param name="ios-package" value="ThumbnailCordovaPlugin"/>
<param name="onload" value="true"/>
</feature>
</config-file>
<header-file src="src/ios/Thumbnail.h"/>
<source-file src="src/ios/Thumbnail.m"/>
<framework src="MobileCoreServices.framework"/>
<framework src="CoreGraphics.framework"/>
<framework src="CoreImage.framework"/>
<framework src="ImageIO.framework"/>
</platform>
</plugin>