Skip to content

Commit e629e32

Browse files
Fixes speaker button on callkit
1 parent e312594 commit e629e32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RNCallKeep/RNCallKeep.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ - (void)configureAudioSession
894894
#endif
895895

896896
AVAudioSession* audioSession = [AVAudioSession sharedInstance];
897-
[audioSession setCategory:AVAudioSessionCategoryPlayAndRecord withOptions:AVAudioSessionCategoryOptionAllowBluetooth error:nil];
897+
[audioSession setCategory:AVAudioSessionCategoryPlayAndRecord withOptions:AVAudioSessionCategoryOptionAllowBluetooth | AVAudioSessionCategoryOptionAllowBluetoothA2DP error:nil];
898898

899899
[audioSession setMode:AVAudioSessionModeDefault error:nil];
900900

0 commit comments

Comments
 (0)