Forums

OverviewV-Play 2 Support (Qt 5)How to pause game when device gets to sleep › Reply To: How to pause game when device gets to sleep

OverviewV-Play 2 Support (Qt 5)How to pause game when device gets to sleep › Reply To: How to pause game when device gets to sleep
#8002

Vlad

Hi Chris

it works just fine on Android but on iOS in most cases I’ve got:

2014-07-28 21:22:17.318 Popcorn[611:60b] 21:22:17.317 ERROR: [0x3cc4218c] 1202: AUIOClient_StartIO failed (561015905)

2014-07-28 21:22:17.331 Popcorn[611:60b] 21:22:17.331 ERROR: [0x3cc4218c] 1202: AUIOClient_StartIO failed (561015905)

qml: Application paused

 

on this stage device switched off the game, however, when I try to resume, I’ve got:

2014-07-28 21:22:30.398 Popcorn[611:21b] void SendDelegateMessage(NSInvocation *): delegate (webView:decidePolicyForNavigationAction:request:frame:decisionListener:) failed to return after waiting 10 seconds. main run loop mode: kCFRunLoopDefaultMode

 

and no signal onApplicationResumed

so game gets freezed and even Home button doesnt works

 

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support