forked from tanelih/phonegap-bluetooth-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
41 lines (31 loc) · 1.35 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
<?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.phonegap.plugins.bluetooth"
version="0.9">
<name>Bluetooth</name>
<description>
Allows access to device bluetooth-API via JavaScript.
</description>
<engines>
<engine name="cordova" version=">=2.6.0" />
</engines>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Bluetooth">
<param name="android-package" value="org.apache.cordova.bluetooth.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/org/apache/cordova/bluetooth" />
<source-file src="src/android/BluetoothWrapper.java" target-dir="src/org/apache/cordova/bluetooth" />
<source-file src="src/android/BluetoothError.java" target-dir="src/org/apache/cordova/bluetooth" />
<source-file src="src/android/Pair.java" target-dir="src/org/apache/cordova/bluetooth" />
</platform>
</plugin>