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"