I am facing a strange error , if I run it with chrome android browser using wifi , then whenever i switch the windows suddenly it lost the sounds. I am running music behind the application which runs fine but other sounds stop working if i switch the windows. I thought maybe this error is due to the chrome browser so i have build it with crosswalk on XDK and then i ran the application directly on the device. In start everything works fine but if i do not touch the screen and device mode goes into sleep mode then if i wake up the device it get lost all sounds of the buttons except music. So it seems like this is coming from construct2 because running the app on chrome android browser or running as an apk both gives same results.
Error i have faced were following
Uncaught (in promise) DOMException: A call to lockOrientation() or unlockOrientation() canceled this
Uncaught (in promise) DOMException: A call to lockOrientation() or unlockOrientation() canceled this call.Runtime.tryLockOrientation preview.js:1021
localhost/preview.js, line 1858 (col 11)[/code:2mwqagoc][/p]
I am desperate to fix this but after spending 6-8 hours I am failed and need help ...