-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
45 lines (33 loc) · 1.52 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin
xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="mobi.monaca.plugins.bluetooth"
version="1.0.0">
<name>BluetoothPlugin</name>
<description>
This plugin enables access to device bluetooth-API via JavaScript.
</description>
<engines>
<engine name="cordova" version=">=2.9.0" />
</engines>
<license>Asial</license>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Bluetooth">
<param name="android-package" value="mobi.monaca.framework.plugin.BluetoothPlugin" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
</config-file>
<js-module src="www/bluetooth.js" name="bluetooth">
<clobbers target="bluetooth" />
</js-module>
<source-file src="src/android/BluetoothPlugin.java" target-dir="src/mobi/monaca/framework/plugin" />
<source-file src="src/android/BluetoothWrapper.java" target-dir="src/mobi/monaca/framework/plugin" />
<source-file src="src/android/BluetoothError.java" target-dir="src/mobi/monaca/framework/plugin" />
<source-file src="src/android/Pair.java" target-dir="src/mobi/monaca/framework/plugin" />
</platform>
</plugin>