cordova-plugin-bluetooth-classic-serial-port
Advanced tools
Comparing version 0.9.11 to 0.9.12
@@ -0,1 +1,5 @@ | ||
= 0.9.12 = | ||
Android: Update permission for sdk 33 | ||
WindowsPhone: Removed | ||
= 0.9.11 = | ||
@@ -2,0 +6,0 @@ Add new permissions BLUETOOTH_SCAN add BLUETOOTH_CONNECT >= Android 12 or higher |
{ | ||
"name": "cordova-plugin-bluetooth-classic-serial-port", | ||
"version": "0.9.11", | ||
"version": "0.9.12", | ||
"description": "Cordova Bluetooth Serial Port Profile Communication Plugin", | ||
@@ -5,0 +5,0 @@ "cordova": { |
# Bluetooth Classic Serial Plugin for Cordova | ||
This plugin enables serial communication over Bluetooth. It is a fork of https://github.com/don/BluetoothSerial and https://github.com/soltius/BluetoothClassicSerial The core difference is that https://github.com/don/BluetoothSerial supports Bluetooth Low Energy on iOS. This plugin is written using the iOS Accessory Framework (MFi) to support Classic Bluetooth on iOS. Windows Phone 8 Support has been removed in the fork. | ||
This plugin enables serial communication over Bluetooth. It is a fork of https://github.com/don/BluetoothSerial and https://github.com/soltius/BluetoothClassicSerial. | ||
* **Beta Release** | ||
* **Breaking API Changes from version 0.9.5 'MultiInterface'** | ||
The core difference is that https://github.com/don/BluetoothSerial supports Bluetooth Low Energy on iOS. | ||
This plugin is written using the [iOS Accessory Framework](https://developer.apple.com/documentation/externalaccessory/) (MFi) to support Classic Bluetooth on iOS. | ||
## TODO | ||
@@ -16,3 +17,3 @@ | ||
* iOS (devices must be MFi certified) | ||
* Browser (Testing only. See [comments](https://github.com/don/BluetoothSerial/blob/master/src/browser/bluetoothSerial.js).) | ||
* Browser (Testing only. See [comments](https://github.com/MaximBelov/cordova-plugin-bluetooth-classic-serial-port/blob/main/src/browser/bluetoothClassicSerial.js).) | ||
@@ -25,2 +26,20 @@ ## Limitations | ||
# Background Scanning on iOS | ||
Android applications will continue to receive notification while the application is in the background. | ||
iOS applications need additional configuration to allow Bluetooth to run in the background. | ||
Add a new section to config.xml | ||
<platform name="ios"> | ||
<config-file parent="UIBackgroundModes" target="*-Info.plist"> | ||
<array> | ||
<string>external-accessory</string> | ||
</array> | ||
</config-file> | ||
</platform> | ||
See [Documentation](https://developer.apple.com/documentation/bundleresources/information_property_list/uibackgroundmodes) . | ||
# Installing | ||
@@ -27,0 +46,0 @@ |
/*global cordova*/ | ||
module.exports = { | ||
version: '0.9.11', | ||
version: '0.9.12', | ||
@@ -6,0 +6,0 @@ connect: function (deviceId, interfaceArray, success, failure) { |
Sorry, the diff of this file is not supported yet
723
135244
13
281