File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -573,6 +573,13 @@ - (void)provider:(CXProvider *)provider didActivateAudioSession:(AVAudioSession
573
573
#ifdef DEBUG
574
574
NSLog (@" [RNCallKeep][CXProviderDelegate][provider:didActivateAudioSession]" );
575
575
#endif
576
+ NSDictionary *userInfo
577
+ = @{
578
+ AVAudioSessionInterruptionTypeKey: [NSNumber numberWithInt: AVAudioSessionInterruptionTypeEnded],
579
+ AVAudioSessionInterruptionOptionKey: [NSNumber numberWithInt: AVAudioSessionInterruptionOptionShouldResume]
580
+ };
581
+ [[NSNotificationCenter defaultCenter ] postNotificationName: AVAudioSessionInterruptionNotification object: nil userInfo: userInfo];
582
+
576
583
[self configureAudioSession ];
577
584
[self sendEventWithName: RNCallKeepDidActivateAudioSession body: nil ];
578
585
}
You can’t perform that action at this time.
0 commit comments