Jump to content

Restore inactive phaser game crash


Ivan Lopez
 Share

Recommended Posts

HI Ivan,

Can you provide more detail?  

What browser you use for Android and which one for iOS?

On Android, assuming you are using Chrome,  you should try to connect remotely from a desktop Chrome browser inspector.

On iOS, if you are using the Safari browser, you can do similiar connection with Safari desktop.  

Connect remotely,  change over to the console, then minimize your browser on the device and remax.

You should see some error messages if the app is crashing, unless the browser is crashing as well.

 

Link to comment
Share on other sites

Hi,

With debug not appears errors. It looks like it's suspendend.  I noted that if i wait 30 secs approximately the game it works again. 

I use tweens and if I write console messages, i note onComplete method is stop during that 30 secs. Why?

The problem only occurs with android and ios.

Thanks!

Link to comment
Share on other sites

Hi!

I solved my problem with plugin cordova background... but I get other problem.. Appstore rejected my game because that plugin are not allowed for this purpose..

Then..What can  I do? Javascript sleep in background and when i restore the app need 30 secs.. and on the other hand, I have the solution with the plugin, but my app can not be published.

Help, please :)

Link to comment
Share on other sites

  • 3 months later...
 Share

  • Recently Browsing   0 members

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