Multitasking / glb_onpause / glb_resume problem

Previous topic - Next topic

mrplant

Hi.

In my iOS app I have handlers for glb_pause and glb_resume but my
App doesn't seem to work despite it supposedly detecting pause mode etc.

In short if I come out of my app in iOS and go back into it the whole
App relaunches from the start again instead of resuming.

Any ideas why?

Is there a setting in the Xcode project I need to change to get this working..

Thanks.

spacefractal

its happens here sometimes too, but not allways. Its mostly happens if you use the power button and not the home button. Property its seen its due a thread crash, which require a app relaunch. Not sure why if its a glbasic bug or not?

This is a another why the app activity part should not been a part in the m, but with source so this kind of issues could been fixed (something like Android require it with sld).
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

mrplant

I can't even get it to work with the home button - always restarts the app when I go back into it?

spacefractal

im do still paint my game and using SHOWSCREEN even when its paused, because im found its was more stable. Howover this bug also can been happens on Android too. So its property a SDL issue when resuming. So make sure your game progress is saved when possible.

Also this is a years old bug, so....

im also uses AUTOPAUSE FALSE and ALLOWESCAPE FALSE, which im seen Android version using AUTOPAUSE TRUE with Android Extras.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/