forked from don/BluetoothSerial
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
42 lines (34 loc) · 1.57 KB
/
plugin.xml
File metadata and controls
42 lines (34 loc) · 1.57 KB
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
<?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="com.megster.cordova.bluetoothserial2"
version="0.4.1">
<name>Bluetooth Serial 2</name>
<description>Bluetooth Serial Communication Plugin</description>
<license>Apache 2.0</license>
<keywords>bluetooth, BLE, arduino</keywords>
<repo>https://github.com/don/BluetoothSerial2.git</repo>
<issue>https://github.com/don/BluetoothSerial2/issues</issue>
<engines>
<engine name="cordova" version=">=2.9.0" />
</engines>
<js-module src="www/bluetoothSerial2.js" name="bluetoothSerial2">
<clobbers target="window.bluetoothSerial2" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/widget">
<feature name="BluetoothSerial2">
<param name="android-package" value="com.megster.cordova.BluetoothSerial2"/>
</feature>
</config-file>
<source-file src="src/android/com/megster/cordova/BluetoothSerial2.java"
target-dir="src/com/megster/cordova"/>
<source-file src="src/android/com/megster/cordova/BluetoothSerialService2.java"
target-dir="src/com/megster/cordova"/>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
</config-file>
</platform>
</plugin>