Answering your last paragraph, yes, the effect sounds are in “sounds” folder and music in “music” folder. And I have the “preload sounds” property in “yes”.
I have create a new capx which the problem it keeps being. It’s like a flappy bird. If you test it, you will have to be a bit patient xDD because it happens 2-5 minutes after, only if you are playing (and reproducing the sound constantly).
I have add 2 layouts. In first there is no sound, and stops the music (generally here is a “menu theme”), in the second is the “game”, with it’s “game music” example. In top right i put an icon which let you to the first layout. I did it like that because when the audio stops while playing, only stops the effects. Music continues playing. When that happens and you go back, the whole audio disappears, and if you return to the game, never comes back.
I have add the same plugins I have in my original project, and if it can help, my configuration is:
- For export (Cordova):
(Export options) minimize option unmarked
(Cordova options) Hide status bar, Uses media and “Android, any other platform” marked.
Supported OSS: Minimum iOS (8.0+), Minimum Android (5.0.(Lollipop)[Webview])
- For compile (Cocoon):
(Default) Webview engine: Canvas+, Orientation: Portrait, Fullscreen: Yes
(Android) Install Location: Auto
Plugins installed: Nativeaudio, Native Share API, ADmob Native ADs for Android.
Here is the capx (I hope I have share it well):
Test version.zip (1.3 MB)