forked from ksachdeva/cordova-plugin-rx-ble
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
68 lines (54 loc) · 3.62 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
62
63
64
65
66
67
68
<?xml version="1.0" encoding="utf-8"?>
<plugin id="cordova-plugin-rx-ble" version="0.1.0" xmlns="http://apache.org/cordova/ns/plugins/1.0">
<name>BleCentral</name>
<asset src="www/central.js" target="js/central.js"/>
<js-module name="central" src="www/central.js">
<clobbers target="cordova.plugins.ble.Central"/>
</js-module>
<platform name="ios">
<config-file parent="/widget" target="config.xml">
<feature name="CentralPlugin">
<param name="ios-package" value="CentralPlugin"/>
</feature>
</config-file>
<config-file parent="UIBackgroundModes" target="*-Info.plist">
<array>
<string>bluetooth-central</string>
</array>
</config-file>
<!--
<framework src="src/ios/frameworks/RxBlocking.framework" custom="true" embed="true"/>
<framework src="src/ios/frameworks/RxSwift.framework" custom="true" embed="true"/>
<framework src="src/ios/frameworks/RxCocoa.framework" custom="true" embed="true"/>
<framework src="src/ios/frameworks/RxBluetoothKit.framework" custom="true" embed="true"/>
-->
<source-file src="src/ios/CentralPlugin.swift" target-dir="CentralPlugin"/>
<source-file src="src/ios/BleError.swift" target-dir="CentralPlugin"/>
<source-file src="src/ios/BleUtils.swift" target-dir="CentralPlugin"/>
<source-file src="src/ios/BleExtensions.swift" target-dir="CentralPlugin"/>
</platform>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="CentralPlugin">
<param name="android-package" value="com.ksachdeva.opensource.ble.central.CentralPlugin"/>
</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-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
</config-file>
<source-file src="src/android/CentralPlugin.java" target-dir="src/com/ksachdeva/opensource/ble/central"/>
<source-file src="src/android/converters/RxBleScanResultConverter.java" target-dir="src/com/ksachdeva/opensource/ble/central/converters"/>
<source-file src="src/android/converters/RxBleDeviceConverter.java" target-dir="src/com/ksachdeva/opensource/ble/central/converters"/>
<source-file src="src/android/converters/BluetoothGattCharacteristicConverter.java" target-dir="src/com/ksachdeva/opensource/ble/central/converters"/>
<source-file src="src/android/converters/BluetoothGattServiceConverter.java" target-dir="src/com/ksachdeva/opensource/ble/central/converters"/>
<source-file src="src/android/errors/BleError.java" target-dir="src/com/ksachdeva/opensource/ble/central/errors"/>
<source-file src="src/android/errors/Error.java" target-dir="src/com/ksachdeva/opensource/ble/central/errors"/>
<source-file src="src/android/errors/ErrorConverter.java" target-dir="src/com/ksachdeva/opensource/ble/central/errors"/>
<source-file src="src/android/utils/DisposableMap.java" target-dir="src/com/ksachdeva/opensource/ble/central/utils"/>
<source-file src="src/android/utils/UUIDConverter.java" target-dir="src/com/ksachdeva/opensource/ble/central/utils"/>
<framework src="com.polidea.rxandroidble:rxandroidble:1.0.2"/>
</platform>
<dependency id="cordova-plugin-add-swift-support" url="https://github.com/akofman/cordova-plugin-add-swift-support"/>
</plugin>