-
Notifications
You must be signed in to change notification settings - Fork 16
/
plugin.xml
61 lines (48 loc) · 2.25 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
54
55
56
57
58
59
60
61
<?xml version="1.0" encoding="utf-8"?>
<plugin
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-rfduino"
version="0.1.4">
<name>RFduino</name>
<description>Cordova Plugin for RFduino</description>
<license>Apache 2.0</license>
<keywords>bluetooth, BLE, arduino, rfduino</keywords>
<repo>https://github.com/don/cordova-plugin-rfduino.git</repo>
<issue>https://github.com/don/cordova-plugin-rfduino/issues</issue>
<engines>
<engine name="cordova" version=">=3.1.0" />
</engines>
<js-module src="www/rfduino.js" name="rfduino">
<clobbers target="rfduino" />
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/widget">
<feature name="RFduino">
<param name="ios-package" value="MEGRFduino" onload="true"/>
</feature>
</config-file>
<header-file src="src/ios/MEGRFduino.h" target-dir="RFduino" />
<source-file src="src/ios/MEGRFduino.m" target-dir="RFduino" />
<header-file src="src/ios/CBPeripheral+Extensions.h" target-dir="RFduino" />
<source-file src="src/ios/CBPeripheral+Extensions.m" target-dir="RFduino" />
<!-- frameworks -->
<framework src="CoreBluetooth.framework" />
</platform>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/widget">
<feature name="RFduino">
<param name="android-package" value="com.megster.cordova.rfduino.RFduinoPlugin"/>
</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"/>
<uses-sdk android:minSdkVersion="18" android:targetSdkVersion="19" />
</config-file>
<source-file src="src/android/com/megster/cordova/rfduino/RFduinoPlugin.java"
target-dir="src/com/megster/cordova/rfduino"/>
<source-file src="src/android/com/megster/cordova/rfduino/Peripheral.java"
target-dir="src/com/megster/cordova/rfduino"/>
</platform>
</plugin>