File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
ios/record_ios/Sources/record_ios Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1+ ## 1.1.4
2+ * fix: Wrong deprecation on allowBluetooth on XCode 26.0.
3+
14## 1.1.3
25* fix: Recording should resume after pause when in background.
36
Original file line number Diff line number Diff line change @@ -92,7 +92,13 @@ struct IosConfig {
9292 case " duckOthers " :
9393 AVAudioSession . CategoryOptions. duckOthers
9494 case " allowBluetooth " :
95+ #if compiler(>=6.2)
96+ // For XCode 26.0+, Swift 6.2 version
9597 AVAudioSession . CategoryOptions. allowBluetoothHFP
98+ #else
99+ // Deprecated in 26.0, not 8.0. Thanks Apple!
100+ AVAudioSession . CategoryOptions. allowBluetooth
101+ #endif
96102 case " defaultToSpeaker " :
97103 AVAudioSession . CategoryOptions. defaultToSpeaker
98104 case " interruptSpokenAudioAndMixWithOthers " :
Original file line number Diff line number Diff line change 11name : record_ios
22description : iOS implementation for record package called by record_platform_interface.
3- version : 1.1.3
3+ version : 1.1.4
44homepage : https://github.com/llfbandit/record/tree/master/record_ios
55
66environment :
You can’t perform that action at this time.
0 commit comments