Page 1 of 1
App messages while in background
Posted: Tue Aug 18, 2015 12:46 am
by Pistris
I was wondering what happens to the app when i press the home button
does it keeps running in the background?
what messages it sends when i click on the app again?
thanks
Re: App messages while in background
Posted: Tue Aug 18, 2015 6:40 am
by gpb01
Livecode App
completely close when you go "home" or you switch to another App (
"UIApplicationExitsOnSuspend" in the App Settings.pList is "true").
You can try to modify the different pList (
inside Livecode you will find one for each version of iOS) to set the "key" to "false" BUT is
NOT supported/encouraged by RunRev and can create problems (
although I have done this many times without any problem).
If you want to catch the iOS messages ... there is a Monte
mergExt external for that: "
mergBgTask"
Guglielmo
Re: App messages while in background
Posted: Tue Aug 18, 2015 5:22 pm
by Pistris
Can you elaborate on the sort of problems it can create?
thanks
Re: App messages while in background
Posted: Tue Aug 18, 2015 6:11 pm
by gpb01
... never understood well
I think there are problems when using "wait" statement, but really not clear.
If you do some search on the forum, probably you will find few threads speaking about iOS background tasks
Guglielmo
Re: App messages while in background
Posted: Tue Aug 18, 2015 7:00 pm
by Pistris
Thankyou Guglielmo
I think am gonna buy the MergExt suite of externals
they look very usefull
Re: App messages while in background
Posted: Wed Aug 19, 2015 3:07 pm
by gpb01
Pistris wrote:
I think am gonna buy the MergExt suite of externals
they look very useful
Totally agree with you ...
... I used/use it with satisfaction for several years
Guglielmo