Weird applicationSuspend/applicationResume problem

I have this weird applicationSuspend/applicationResume problem that’s driving me nuts. On applicationResume I show an alert to the user to get ready to play. It works great except under one circumstance and for the life of me can not figure out why. Here are the scenarios:

  1. User exits App while playing. On resuming the App, alert shows and can continue game fine. No problem.
  2. App is interrupted by a phone call. On resuming, no problem.
  3. Text is received. User chooses to “close”, resume app no problem.
  4. Text is received. User chooses to reply. Go back to the app and the alert shows, but CRASHES the app when you click the alert button.

So under most circumstances it works GREAT. But when the user chooses to reply to a text and goes back to the app, the app crashes when you click the alert button to continue. Any ideas?! I’m using build 2011.704 [import]uid: 8139 topic_id: 20764 reply_id: 320764[/import]

This isn’t something I’ve encountered - I will bring it up in our next meeting and see if I can get some info on it for you.

Peach :slight_smile: [import]uid: 52491 topic_id: 20764 reply_id: 81639[/import]

Yay!!! Thanks Peach. [import]uid: 8139 topic_id: 20764 reply_id: 81711[/import]

Update:

So instead of using a native alert window on application resume, I wrote my own with ui buttons (continue play, or exit to main menu, as in the original native alert). This works great, it does not crash under any circumstance. So it definitely appears to be something with the native alert window.

[import]uid: 8139 topic_id: 20764 reply_id: 81719[/import]

Hey,

Thanks for the update; I’m glad you’ve got a solid work around until we can get this resolved.

Peach :slight_smile: [import]uid: 52491 topic_id: 20764 reply_id: 81806[/import]