Page 1 of 1

iOS13 x iOS12 different background behaviour

Posted: Wed Jan 29, 2020 2:15 pm
by simon.schvartzman
Hi developers for iOS.

On iOS12 if an APP (with a splashscreen) goes to the background, when it comes back it returns on the splash screen and not on the screen that it was when sent to the background. (unless mergNotify is trapped according to https://forums.livecode.com/viewtopic.p ... fy#p155829)

On iOS13 it returns to the screen it was when sent to the background.

Has anyone seen this or it was just me?

Is this a feature or a bug?

Looking forward for your findings...

Re: iOS13 x iOS12 different background behaviour

Posted: Wed Jan 29, 2020 2:26 pm
by jmburnod
Hi Simon,
I can confirm that for iOS 11, i jumped directly from iOS 11 to iOS 13
Best regards
Jean-Marc

Re: iOS13 x iOS12 different background behaviour

Posted: Wed Jan 29, 2020 2:59 pm
by simon.schvartzman
Thanks for confirming Jean-Marc, now let's wait for LC to clarify if it is a feature (documented or undocumented) or a bug.

Regards

Re: iOS13 x iOS12 different background behaviour

Posted: Wed Jan 29, 2020 6:06 pm
by jacque
It's an Apple "feature" introduced in iOS 13. All apps now run in the background just as Android apps always have.

This is an issue for those cases where you do want background behavior, but the old switch that enables it is now a cause for rejection from the App Store. It means users of older iPhones can't have background processing.

Re: iOS13 x iOS12 different background behaviour

Posted: Wed Jan 29, 2020 6:13 pm
by simon.schvartzman
Jacque many thanks for clarifying.

By the way did you ever found out how to detect when the APP returns to the foreground on Android?

Best!

Re: iOS13 x iOS12 different background behaviour

Posted: Wed Jan 29, 2020 7:20 pm
by jacque
simon.schvartzman wrote:
Wed Jan 29, 2020 6:13 pm
By the way did you ever found out how to detect when the APP returns to the foreground on Android?
Nope. As far as I know there are no messages sent and no way to know. If the app gets wiped from memory by the OS we're supposed to get a shutdown message though. I haven't tested it.

Re: iOS13 x iOS12 different background behaviour

Posted: Wed Jan 29, 2020 7:36 pm
by simon.schvartzman
Good to know. Thanks again.