-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
53 lines (40 loc) · 2.02 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
46
47
48
49
50
51
52
53
<?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="cordova-plugin-ble-peripheral"
version="1.0.0">
<name>BLE Peripheral</name>
<description>Bluetooth Low Energy (BLE) Peripheral Plugin</description>
<license>Apache 2.0</license>
<keywords>bluetooth, BLE, bluetooth low energy, peripheral</keywords>
<repo>https://github.com/don/cordova-plugin-ble-peripheral.git</repo>
<issue>https://github.com/don/cordova-plugin-ble-peripheral/issues</issue>
<js-module src="www/blePeripheral.js" name="blePeripheral">
<clobbers target="blePeripheral" />
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/widget">
<feature name="BLEPeripheral">
<param name="ios-package" value="BLEPeripheralPlugin" onload="true"/>
</feature>
</config-file>
<header-file src="src/ios/BLEPeripheralPlugin.h" target-dir="BLEPeripheralPlugin" />
<source-file src="src/ios/BLEPeripheralPlugin.m" target-dir="BLEPeripheralPlugin" />
<!-- frameworks -->
<framework src="CoreBluetooth.framework" />
</platform>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/widget">
<feature name="BLEPeripheral">
<param name="android-package" value="com.megster.cordova.ble.peripheral.BLEPeripheralPlugin"/>
</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>
<source-file src="src/android/BLEPeripheralPlugin.java" target-dir="src/com/megster/cordova/ble/peripheral"/>
<source-file src="src/android/UUIDHelper.java" target-dir="src/com/megster/cordova/ble/peripheral"/>
</platform>
</plugin>