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
573573#ifdef DEBUG
574574 NSLog (@" [RNCallKeep][CXProviderDelegate][provider:didActivateAudioSession]" );
575575#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+
576583 [self configureAudioSession ];
577584 [self sendEventWithName: RNCallKeepDidActivateAudioSession body: nil ];
578585}
You can’t perform that action at this time.
0 commit comments