Mon 21 Jul 22:43:21 CEST 2025
This commit is contained in:
parent
e45fbf0b94
commit
bdad691719
|
@ -0,0 +1,44 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!--
|
||||
Copyright 2016 Franco Bugnano
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<plugin id="cordova-plugin-networking-bluetooth" version="1.0.3" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<name>Bluetooth Networking</name>
|
||||
<description>Bluetooth Networking Plugin for Cordova</description>
|
||||
<author>Franco Bugnano</author>
|
||||
<license>Apache 2.0</license>
|
||||
<keywords>cordova,bluetooth,network,networking,rfcomm,socket,client,server,peer,p2p</keywords>
|
||||
|
||||
<js-module name="CDVNetEvent" src="www/CDVNetEvent.js" />
|
||||
<js-module name="NetworkingBluetooth" src="www/NetworkingBluetooth.js">
|
||||
<clobbers target="networking.bluetooth" />
|
||||
</js-module>
|
||||
|
||||
<platform name="android">
|
||||
<config-file parent="/*" target="res/xml/config.xml">
|
||||
<feature name="NetworkingBluetooth">
|
||||
<param name="android-package" value="cordova.plugin.networking.bluetooth.NetworkingBluetooth" />
|
||||
</feature>
|
||||
</config-file>
|
||||
<config-file parent="/*" target="AndroidManifest.xml">
|
||||
<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/NetworkingBluetooth.java" target-dir="src/cordova/plugin/networking/bluetooth" />
|
||||
</platform>
|
||||
</plugin>
|
||||
|
Loading…
Reference in New Issue
Block a user