-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathplugin.xml
46 lines (36 loc) · 1.47 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-clipboard-api"
version="1.3.0">
<engines>
<engine name="cordova" version=">=4.0.0" />
</engines>
<name>Clipboard API</name>
<description>Clipboard copy and paste plugin for Cordova/PhoneGap that supports text, images and urls for iOS, Android.</description>
<author>Michael Wuori</author>
<keywords>clipboard,copy,paste,clear</keywords>
<license>MIT</license>
<js-module src="www/clipboard.js" name="Clipboard">
<clobbers target="cordova.plugins.clipboard" />
</js-module>
<!-- iOS -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Clipboard">
<param name="ios-package" value="CDVClipboard" />
</feature>
</config-file>
<header-file src="src/ios/CDVClipboard.h" />
<source-file src="src/ios/CDVClipboard.m" />
</platform>
<!-- Android -->
<platform name="android">
<source-file src="src/android/Clipboard.java" target-dir="src/com/wuori/cordova/clipboard" />
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Clipboard">
<param name="android-package" value="com.wuori.cordova.clipboard.Clipboard" />
</feature>
</config-file>
</platform>
</plugin>