-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathplugin.xml
31 lines (26 loc) · 1.38 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-usb-event" version="1.0.2"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>cordova-plugin-usb-event</name>
<description>Cordova plugin to handle USB attach event for android</description>
<license>MIT</license>
<keywords>cordova,plugin,usb,event,android</keywords>
<js-module name="UsbEvent" src="www/usb-event.js">
<clobbers target="cordova.plugins.usbevent" />
</js-module>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="UsbEvent">
<param name="android-package" value="net.kyosho.usb.event.UsbEvent" />
</feature>
</config-file>
<config-file parent="/manifest" target="AndroidManifest.xml">
<uses-feature android:name="android.hardware.usb.host" android:required="true"/>
</config-file>
<source-file src="src/android/UsbEvent.java" target-dir="src/net/kyosho/usb/event" />
<source-file src="src/android/UsbEventModel.java" target-dir="src/net/kyosho/usb/event" />
<source-file src="src/android/IncludeFilter.java" target-dir="src/net/kyosho/usb/event" />
<source-file src="src/android/UsbEventId.java" target-dir="src/net/kyosho/usb/event" />
</platform>
</plugin>