[SOLVED] Dealing with notifications, suspended game, and other external interruptions

Hello Community, I was wonder about how to deal with external interruptions, like notifications (mails, messages, calls, etc.), how to suspend my game, how to use multitasking function, etc. to avoid game crashes, bugs and lost of game data. [import]uid: 81091 topic_id: 19986 reply_id: 319986[/import]

In build.settings;

[lua]UIApplicationExitsOnSuspend = false[/lua]

After a call it will return to the app as it was left :slight_smile: [import]uid: 52491 topic_id: 19986 reply_id: 77992[/import]

That avoid crashes with calls, messages and other external notifications? [import]uid: 81091 topic_id: 19986 reply_id: 79448[/import]

On iOS, yes - on Android I believe so, although I haven’t tested it as I only normally work with iOS.

Which are you using?

Peach :slight_smile: [import]uid: 52491 topic_id: 19986 reply_id: 79649[/import]

I’m using iOS too, but I don’t have an iPhone to test it yet. [import]uid: 81091 topic_id: 19986 reply_id: 80391[/import]

OK well on iOS it will do exactly what you want - no crashes/restarts from interruptions.

(I believe it also does this on Android but lack the experience to say for sure - someone in the Android sub forum would be able to tell you.)

Peach :slight_smile: [import]uid: 52491 topic_id: 19986 reply_id: 80540[/import]

Thank you Peach… [import]uid: 81091 topic_id: 19986 reply_id: 80621[/import]