Skip to content

Commit 4d6937e

Browse files
authored
Merge pull request #673 from bradzickafoose/master
Add support for I/O connection through Car Audio on iOS
2 parents 3b4a4e8 + 9ac3051 commit 4d6937e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ios/RNCallKeep/RNCallKeep.m

+3
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,9 @@ + (NSString *) getAudioInputType: (NSString *) type
621621
else if ([type isEqualToString:AVAudioSessionPortBuiltInSpeaker]){
622622
return @"Speaker";
623623
}
624+
else if ([type isEqualToString:AVAudioSessionPortCarAudio]) {
625+
return @"CarAudio";
626+
}
624627
else{
625628
return nil;
626629
}

0 commit comments

Comments
 (0)