cordova-plugin-nativeaudio
cordova-plugin-nativeaudio copied to clipboard
IOS - change to the session to allow mixing with other sound
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 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?
@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