-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathplugin.xml
32 lines (27 loc) · 1.41 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-serialport" version="0.1.0" xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>cordova-plugin-serialport</name>
<js-module name="serialport" src="www/cordova-plugin-serialport.js">
<clobbers target="cordova.plugins.serialport"/>
<clobbers target="serialport"/>
</js-module>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="cordova-plugin-serialport">
<param name="android-package" value="me.izee.cordova.plugin.NativeSerial"/>
</feature>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml"></config-file>
<source-file src="libs/android/armeabi/libserial_port.so"
target-dir="libs/armeabi/"/>
<source-file src="libs/android/armeabi-v7a/libserial_port.so"
target-dir="libs/armeabi-v7a/"/>
<source-file src="libs/android/x86/libserial_port.so"
target-dir="libs/x86/"/>
<source-file src="src/android/android_serialport_api/SerialPort.java"
target-dir="src/android_serialport_api/"/>
<source-file src="src/android/NativeSerial.java"
target-dir="src/me/izee/cordova/plugin/"/>
</platform>
</plugin>