Has anyone else had this problem? It happens to me on iPhone browser and also with compiled apps with both Phonegap and XDK. It has happened on all of the apps I have made.
It happens seemingly randomly so it is hard to reproduce. When I close the game and then open it up later, sometimes (maybe 10% of the time), the sound doesn't work and I have to close the app from the app switcher and re-open it. It's not a huge problem but I could imagine it might be annoying for users who don't know what's wrong.
I was wondering if it is something to do with the audio getting interrupted by something else, maybe like a phone call. Does anyone know if there's something I could put in my file to re-initialise the audio after the app is re-opened?