1 Star 0 Fork 0

杨城/cordova-plugin-ble-background-central

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
plugin.xml 3.68 KB
一键复制 编辑 原始数据 按行查看 历史
Don Coleman 提交于 2016-10-27 03:44 +08:00 . 1.1.3 NSBluetoothPeripheralUsageDescription
<?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-central"
version="1.1.3">
<name>BLE</name>
<description>Bluetooth Low Energy (BLE) Central Plugin</description>
<license>Apache 2.0</license>
<keywords>bluetooth, BLE, bluetooth low energy, bluetooth smart</keywords>
<repo>https://github.com/don/cordova-plugin-ble-central.git</repo>
<issue>https://github.com/don/cordova-plugin-ble-central/issues</issue>
<dependency id="cordova-plugin-compat" version="^1.0.0" />
<js-module src="www/ble.js" name="ble">
<clobbers target="ble" />
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/widget">
<feature name="BLE">
<param name="ios-package" value="BLECentralPlugin" onload="true"/>
</feature>
</config-file>
<header-file src="src/ios/BLECentralPlugin.h" target-dir="BLECentralPlugin" />
<source-file src="src/ios/BLECentralPlugin.m" target-dir="BLECentralPlugin" />
<header-file src="src/ios/CBPeripheral+Extensions.h" target-dir="BLECentralPlugin" />
<source-file src="src/ios/CBPeripheral+Extensions.m" target-dir="BLECentralPlugin" />
<header-file src="src/ios/BLECommandContext.h" target-dir="BLECentralPlugin" />
<source-file src="src/ios/BLECommandContext.m" target-dir="BLECentralPlugin" />
<!-- frameworks -->
<framework src="CoreBluetooth.framework" />
<preference name="BLUETOOTH_USAGE_DESCRIPTION" default=" " />
<config-file target="*-Info.plist" parent="NSBluetoothPeripheralUsageDescription">
<string>$BLUETOOTH_USAGE_DESCRIPTION</string>
</config-file>
</platform>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/widget">
<feature name="BLE">
<param name="android-package" value="com.megster.cordova.ble.central.BLECentralPlugin"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
</config-file>
<source-file src="src/android/BLECentralPlugin.java"
target-dir="src/com/megster/cordova/ble/central"/>
<source-file src="src/android/BLECommand.java"
target-dir="src/com/megster/cordova/ble/central"/>
<source-file src="src/android/Peripheral.java"
target-dir="src/com/megster/cordova/ble/central"/>
<source-file src="src/android/Helper.java"
target-dir="src/com/megster/cordova/ble/central"/>
<source-file src="src/android/UUIDHelper.java"
target-dir="src/com/megster/cordova/ble/central"/>
</platform>
<platform name="browser">
<js-module src="src/browser/BLECentralPlugin.js" name="BLECentralPlugin">
<merges target="ble" />
</js-module>
</platform>
<platform name="wp8">
<config-file target="config.xml" parent="/*">
<feature name="BLE">
<param name="wp-package" value="BLECentralPlugin"/>
</feature>
</config-file>
<config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
<Capability Name="ID_CAP_PROXIMITY" />
</config-file>
<source-file src="src/wp/BLECentralPlugin.cs" />
</platform>
</plugin>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/gumpyang/cordova-plugin-ble-background-central.git
git@gitee.com:gumpyang/cordova-plugin-ble-background-central.git
gumpyang
cordova-plugin-ble-background-central
cordova-plugin-ble-background-central
master

搜索帮助