-
Notifications
You must be signed in to change notification settings - Fork 4
/
plugin.xml
47 lines (39 loc) · 1.54 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
<?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="com.autobots.cordova.imageBase64"
version="0.0.1">
<name>Image Base64 for android and ios</name>
<description>
A cordova plugin that provides the functionality to convert image to base64.
</description>
<license>MIT</license>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<dependency id="cordova-plugin-file-transfer" version=">=1.2.1" />
<js-module src="www/ImageBase64.js" name="ImageBase64">
<clobbers target="autobots.imageBase64" />
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="ImageBase64">
<param name="ios-package" value="ImageBase64"/>
</feature>
</config-file>
<header-file src="src/ios/ImageBase64.h"/>
<source-file src="src/ios/ImageBase64.m"/>
</platform>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="ImageBase64">
<param name="android-package" value="com.autobots.ImageBase64"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
</config-file>
<source-file src="src/android/libs/commons-io-2.4.jar" target-dir="libs"/>
<source-file src="src/android/com/autobots/ImageBase64.java" target-dir="src/com/autobots"/>
</platform>
</plugin>