Skip to content

Commit c855974

Browse files
authored
Merge pull request #649 from agustinferrari/fix-speaker-button-callkit
Fix: speaker button on callkit
2 parents 27d5533 + e629e32 commit c855974

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)