Browser>On Suspend & Browser>On Resume not triggering on Chrome for iOS and Android stock browser.
Attach a Capx
https://drive.google.com/file/d/0B7P74F ... sp=sharing
Description of Capx
A blue sprite and a orange sprite show up when you load the layout, when the browser is suspended(minimized to background) and Browser>On Suspended is triggered, the blue sprite changes to green, and when Browser>On Resume is triggered the orange sprite changes to pink when the game is is the foreground again.
Steps to Reproduce Bug
- Open the game in Chrome for iOS or the stock Android browser
- Minimize the game to the background by pressing the home button on either iOS or Android
- Reopen the browser to the foreground
When the browser is minimized to the background then reopened the blue sprite does not change to green because Browser>On Suspend was not triggered and the orange sprite does not change to pink because Browser>On Resume was not triggered.
The blue sprite should change to green when Browser>On Suspend is triggered, the orange sprite should change to pink when Browser>On Resume is triggered.
- Chrome for iOS (YES)
- Stock Android Browser for Android 5.0 (YES)
- Internet Explorer: (NO)
- Firefox: (NO)
- Firefox Android: (NO)
- Chrome for Android: (NO)
- Chrome for PC: (NO)
- Safari for iOS: (NO)
- Safari for Mac: (NO)
Operating System and Service Pack
Windows 7 Home Premium, Service Pack 1
Construct 2 Version ID
Notes: I noticed this bug when testing a game on Chrome for iOS and the stock Android browser, when you minimize the browser to the background your background music keeps playing, but on Safari for iOS and Chrome for Android it stops playing the music till the browser gains focus again. Not sure if this is on the C2 side or on the browser side.