From cbf5f861e7f4f7f02aeb59be212558e784fac04d Mon Sep 17 00:00:00 2001 From: Chip Weinberger Date: Mon, 24 Jul 2023 07:48:34 -0700 Subject: [PATCH] Release 1.10.3 --- CHANGELOG.md | 3 +++ lib/src/bluetooth_msgs.dart | 5 +---- pubspec.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 92b15b0b..d2925465 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 1.10.3 +* android: handle scan failure. also add verbose log level and remove unused log levels + ## 1.10.2 * Dart: fix setLogLevel recursion (Regression in 1.10.0) * iOS: use NSError instread of obj-c exceptions to avoid uncaught exceptions diff --git a/lib/src/bluetooth_msgs.dart b/lib/src/bluetooth_msgs.dart index c70c3074..e1d70c81 100644 --- a/lib/src/bluetooth_msgs.dart +++ b/lib/src/bluetooth_msgs.dart @@ -1,10 +1,7 @@ part of flutter_blue_plus; void _printDbg(String s) { - if (FlutterBluePlus.logLevel.index >= LogLevel.verbose.index) { - //ignore: avoid_print - print(s); - } + FlutterBluePlus._log(LogLevel.verbose, s); } enum BmAdapterStateEnum { diff --git a/pubspec.yaml b/pubspec.yaml index 72c8fe61..a6939fe2 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_blue_plus description: Flutter plugin for connecting and communicationg with Bluetooth Low Energy devices, on Android, iOS, and MacOS. -version: 1.10.2 +version: 1.10.3 homepage: https://github.com/boskokg/flutter_blue_plus environment: