cordova-plugin-nativeaudio icon indicating copy to clipboard operation
cordova-plugin-nativeaudio copied to clipboard

IOS - change to the session to allow mixing with other sound

Open crushingCodes opened this issue 5 years ago • 1 comments

Even with the existing fix that was supposed to fix this issue, the loading of audio would always stop any background music playing in other apps such as Spotify on IOS.

Now it should fade the background music and allow both sounds to mix.

I also removed a line which is no longer needed to init the session.

crushingCodes avatar Nov 07 '18 01:11 crushingCodes

@crushingCodes Thanks for putting this together. I just tested it with iOS13 and although it didn't interrupt the background music, no audio was played when using preload simple. Do you know how I can get around this?

aspdev91 avatar Sep 24 '20 01:09 aspdev91

@crushingCodes Thanks for putting this together. I just tested it with iOS13 and although it didn't interrupt the background music, no audio was played when using preload simple. Do you know how I can get around this?

Sorry I missed the notification and only just saw it now. I haven't looked at this code for a long time lol. Hope you managed to figure it out

crushingCodes avatar May 20 '23 03:05 crushingCodes