This repository has been archived by the owner on May 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathplugin.xml
72 lines (63 loc) · 2.82 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
69
70
71
72
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright (c) 2014 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
id="cordova-plugin-chrome-apps-bluetooth"
version="1.1.6-dev">
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<name>Chrome Apps Bluetooth API</name>
<keywords>chrome,bluetooth</keywords>
<repo>https://github.com/MobileChromeApps/cordova-plugin-chrome-apps-bluetooth.git</repo>
<issue>https://github.com/MobileChromeApps/cordova-plugin-chrome-apps-bluetooth/issues</issue>
<dependency id="cordova-plugin-chrome-apps-common@1" />
<js-module src="bluetooth.js" name="bluetooth">
<clobbers target="chrome.bluetooth" />
</js-module>
<platform name="android">
<source-file src="src/android/ChromeBluetooth.java" target-dir="src/org/chromium" />
<source-file src="src/android/libs/blescan.jar" target-dir="libs" />
<!-- Required by blescan.jar -->
<framework src="com.android.support:support-v4:+" />
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.WAKE_LOCK" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.BLUETOOTH" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-feature android:name="android.hardware.bluetooth_le" android:required="true" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<service
android:name="org.uribeacon.scan.compat.ScanWakefulService"
android:exported="false" />
<receiver android:name="org.uribeacon.scan.compat.ScanWakefulBroadcastReceiver" />
</config-file>
<config-file target="res/xml/config.xml" parent="/widget">
<feature name="ChromeBluetooth">
<param name="android-package" value="org.chromium.ChromeBluetooth" />
</feature>
</config-file>
</platform>
<platform name="ios">
<framework src="CoreBluetooth.framework" />
<source-file src="src/ios/ChromeBluetooth.h" />
<source-file src="src/ios/ChromeBluetooth.m" />
<config-file target="config.xml" parent="/widget">
<feature name="ChromeBluetooth">
<param name="ios-package" value="ChromeBluetooth"/>
</feature>
</config-file>
</platform>
</plugin>