forked from xseignard/cordovarduino
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
29 lines (26 loc) · 1.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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="@cloudscapelabs/cordova-usb-serial"
version="2.0.4">
<name>Cordova USB com.cloudscape.usbserial.Serial</name>
<description>Cordova plugin to communicate with the android USB serial port</description>
<license>MIT</license>
<keywords>serial,arduino</keywords>
<!-- js module -->
<js-module src="www/serial.js" name="Serial">
<clobbers target="cordova.plugins.usbserial" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Serial">
<param name="android-package" value="com.cloudscape.usbserial.Serial"/>
</feature>
</config-file>
<source-file src="src/android/com/cloudscape/usbserial/Serial.java" target-dir="src/com/cloudscape/usbserial" />
<source-file src="src/android/com/cloudscape/usbserial/UsbAttachedHandlerActivity.java" target-dir="src/com/cloudscape/usbserial" />
<source-file src="src/android/com/cloudscape/usbserial/UsbBroadcastReceiver.java" target-dir="src/com/cloudscape/usbserial" />
<framework src="src/android/plugin.gradle" custom="true" type="gradleReference"/>
</platform>
</plugin>