diff --git a/apps/chanora_flutter/ios/Runner/AppDelegate.swift b/apps/chanora_flutter/ios/Runner/AppDelegate.swift index c0c1ee0..b02871d 100644 --- a/apps/chanora_flutter/ios/Runner/AppDelegate.swift +++ b/apps/chanora_flutter/ios/Runner/AppDelegate.swift @@ -32,7 +32,13 @@ import AVFoundation try session.setCategory( .playAndRecord, mode: .voiceChat, - options: [.defaultToSpeaker, .allowBluetooth, .allowBluetoothA2DP] + // .allowBluetoothHFP is the iOS-26-renamed form of the + // historical .allowBluetooth flag — same semantics (permit + // HFP-profile Bluetooth headsets as input + output, so + // AirPods et al. route both directions). .allowBluetoothA2DP + // covers higher-quality output-only A2DP devices that lack + // a mic. Keeping both gives us the broadest BT support. + options: [.defaultToSpeaker, .allowBluetoothHFP, .allowBluetoothA2DP] ) NSLog("chanora_flutter: AVAudioSession category set (playAndRecord/voiceChat)") } catch {