Hi, @yinjimmy @nite
In IOS after Phone call pause popup code isnot triggering.
But in android its working…
Check the code once…
Give some help how to handle on IOS
cc.game.on(cc.game.EVENT_HIDE, function () {
if (G.Game.state == G.GameManager.State.Run && (G.Game.pauseMenu.active == false && G.Game.countL.active == false)) {
self.openPausePopup();
}
});
// For event when the app entering foreground
cc.game.on(cc.game.EVENT_SHOW, function () {
if (G.Game.state == G.GameManager.State.Run && (G.Game.pauseMenu.active == false && G.Game.countL.active == false)) {
self.openPausePopup();
}
});
Thanks,
Kiran Dasari