forked from evothings/cordova-ble
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
49 lines (40 loc) · 1.46 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
<?xml version="1.0" encoding="UTF-8" ?>
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-ble"
version="1.0.0">
<!-- This plugin requires Cordova version >= 3.1.0. -->
<engines>
<engine name="cordova" version=">=3.1.0" />
</engines>
<name>Evothings BLE API</name>
<description>This plugin allows your app to act as a Bluetooth Low Energy client.</description>
<author>Evothings</author>
<keywords>bluetooth,low energy,smart</keywords>
<license>Apache 2.0</license>
<js-module src="ble.js" name="BLE">
<clobbers target="evothings.ble" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="BLE" >
<param name="android-package" value="com.evothings.BLE"/>
</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/BLE.java" target-dir="src/com/evothings" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="BLE">
<param name="ios-package" value="EVOBLE"/>
</feature>
</config-file>
<framework src="CoreBluetooth.framework" />
<header-file src="src/ios/EVOBLE.h" />
<source-file src="src/ios/EVOBLE.m" />
</platform>
</plugin>