I’m making a game for iOS and I added music playing in the background in two scenes. I built the game with Xcode and Cordova to test on the iPhone but, whenever I exit the app leaving it in the recent apps and I reopen it, the music doesn’t resume.
That’s not the problem. I tried with WAV, MP3, OGG and AAC.
The audio plays just fine with all those formats, the issue is that when I exit the game and leave it in the background, after I reopen it the audio stops playing and doesn’t restart even when changing scene.