From eaeae8583e26957756d41e895acbdf9e2d8f4d8e Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Sat, 26 Jul 2025 18:45:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E8=8B=B9=E6=9E=9C=E6=AD=A3?= =?UTF-8?q?=E5=9C=A8=E4=BD=BF=E7=94=A8=E7=9A=84=E7=BB=8F=E5=85=B8=E8=93=9D?= =?UTF-8?q?=E7=89=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../classic_bluetooth/ios/Classes/ClassicBluetoothHelper.swift | 3 ++- pubspec.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/local_plugins/classic_bluetooth/ios/Classes/ClassicBluetoothHelper.swift b/local_plugins/classic_bluetooth/ios/Classes/ClassicBluetoothHelper.swift index 1e1ecc147..9d0b31890 100644 --- a/local_plugins/classic_bluetooth/ios/Classes/ClassicBluetoothHelper.swift +++ b/local_plugins/classic_bluetooth/ios/Classes/ClassicBluetoothHelper.swift @@ -75,7 +75,8 @@ class ClassicBluetoothHelper: NSObject { for output in outputs where isBluetoothOutput(output.portType) { let device: [String: String] = [ "name": output.portName, - "address": cleanDeviceAddress(output.uid) + "address": cleanDeviceAddress(output.uid), + "isActive": "true" // 在 currentRoute.outputs 中的蓝牙设备都是活跃的 ] result.append(device) } diff --git a/pubspec.yaml b/pubspec.yaml index bebbb51c0..64a6f01ac 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: voitrans description: "Voitrans - AI Voice Assistant." publish_to: "none" -version: 1.0.3+10 +version: 1.0.3+11 environment: sdk: ">=3.3.0 <4.0.0"