iOS13 x iOS12 different background behaviour

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
simon.schvartzman
Posts: 641
Joined: Tue Jul 29, 2014 12:52 am
Location: Brazil

iOS13 x iOS12 different background behaviour

Post by simon.schvartzman » Wed Jan 29, 2020 2:15 pm

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...
Simon
________________________________________
To ";" or not to ";" that is the question

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: iOS13 x iOS12 different background behaviour

Post by jmburnod » Wed Jan 29, 2020 2:26 pm

Hi Simon,
I can confirm that for iOS 11, i jumped directly from iOS 11 to iOS 13
Best regards
Jean-Marc
https://alternatic.ch

simon.schvartzman
Posts: 641
Joined: Tue Jul 29, 2014 12:52 am
Location: Brazil

Re: iOS13 x iOS12 different background behaviour

Post by simon.schvartzman » Wed Jan 29, 2020 2:59 pm

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
Simon
________________________________________
To ";" or not to ";" that is the question

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7228
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: iOS13 x iOS12 different background behaviour

Post by jacque » Wed Jan 29, 2020 6:06 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

simon.schvartzman
Posts: 641
Joined: Tue Jul 29, 2014 12:52 am
Location: Brazil

Re: iOS13 x iOS12 different background behaviour

Post by simon.schvartzman » Wed Jan 29, 2020 6:13 pm

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!
Simon
________________________________________
To ";" or not to ";" that is the question

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7228
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: iOS13 x iOS12 different background behaviour

Post by jacque » Wed Jan 29, 2020 7:20 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

simon.schvartzman
Posts: 641
Joined: Tue Jul 29, 2014 12:52 am
Location: Brazil

Re: iOS13 x iOS12 different background behaviour

Post by simon.schvartzman » Wed Jan 29, 2020 7:36 pm

Good to know. Thanks again.
Simon
________________________________________
To ";" or not to ";" that is the question

Post Reply

Return to “iOS Deployment”