Jump to content

[android] game pause in background, sounds not


Recommended Posts

hi, in my init I have           this.stage.disableVisibilityChange = false;

when I check my game in chrome and window lost focus game is paused and also is sounds (end music in background)
but when I create android apk (doesn't matter if it's just cordova, corsswalk or cocoon) and game is on background it's seems to be paused but background music is still playing.
how I can prevent this ?
Can I detect this pause/unpause event from  disableVisibilityChange ??
Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...