AVAudioRecorder.stop() makes the status bar flash on iOS 13

Hi, I have a recorder in my app and on iOS 13 the status bar flashes red for a moment when my app calls the function `stop()` from `AVAudioRecorder`.
Video: ht tps://imgur.co m/a/7 OxycWy
Remember, this only happens when I call the function `.stop()` and not before. In the video above I am pressing starting the recorder and stopping it after 1 second and the flash happens. Yes indeed my app calls this right after `.stop()`:


try AVAudioSession.sharedInstance().setActive( 
     false, 
     options: [AVAudioSession.SetActiveOptions.notifyOthersOnDeactivation])

This never happened before iOS 12.
I am using Version 11.1 (11A1027).
Thank you.

Hi, I am investigating this issue. could you tell me the workaround if you resolved this problem? Much appreciate.
Hi, I am having the same issue in iOS 14. Were you able to solve this problem? Thanks
AVAudioRecorder.stop() makes the status bar flash on iOS 13
 
 
Q