Re: How to make a mobile app stay alive in the background?

2020-04-27 Thread J. Landman Gay via use-livecode
On 4/27/20 1:48 AM, Mark Waddingham via use-livecode wrote: Both mergBgTask and mergNotify provide features to enable managing the background task feature of iOS, and the suspend/resume notifications though. And for Android...what? -- Jacqueline Landman Gay | jac...@hyperactivesw

Re: How to make a mobile app stay alive in the background?

2020-04-27 Thread Graham Samuel via use-livecode
Panos, as usual, this is terrific information! I am applying your advice immediately. Not to start an argument, the statistics you quote don’t accord with my personal experience. Almost everyone I know who owns Apple kit has at least one phone or iPad that can’t be upgraded to the latest OS ver

Re: How to make a mobile app stay alive in the background?

2020-04-27 Thread panagiotis merakos via use-livecode
Hello Graham, I could not find any *official* source from Apple, as their docs are scattered around and it is not easy to determine always if a document is out of date, but from what I understand iOS apps are running in the background by default since iOS 12+. Given how quickly people are moving (

Re: How to make a mobile app stay alive in the background?

2020-04-27 Thread Graham Samuel via use-livecode
Panos, thanks for that info. The truth is my particular app has proved such a challenge for me in so many different ways that it may never reach its intended user population - but on the off-chance that I do finish it, then I think I may have to get involved with the Apple App Store, if only to

Re: How to make a mobile app stay alive in the background?

2020-04-27 Thread panagiotis merakos via use-livecode
Hello all, Just to add to the discussion that one of Graham's phones runs iOS 10.x, so in this case, if you need your app to continue running in the background, you do need to build it with 9.5.1 and check the "enable background execution" checkbox in the iOS settings. However, you will not be abl

Re: How to make a mobile app stay alive in the background?

2020-04-27 Thread Graham Samuel via use-livecode
Thanks Jacque and Mark - very interesting! Your messages told me stuff I did not know. mergBgTask looks scary and somewhat unsure of itself, but i’ll try. What is happening to me is that the app is suspended and effectively stopped when it goes into the background. From this state it can only be

Re: How to make a mobile app stay alive in the background?

2020-04-26 Thread Mark Waddingham via use-livecode
On 2020-04-27 07:25, J. Landman Gay via use-livecode wrote: On 4/26/20 4:43 PM, Graham Samuel via use-livecode wrote: I notice in the Standalone Settings for iOS in LC 9.5.1, a button ‘Background Execution’. If I click it, I get a warning that I don’t really understand which suggests that LC do

Re: How to make a mobile app stay alive in the background?

2020-04-26 Thread J. Landman Gay via use-livecode
On 4/26/20 4:43 PM, Graham Samuel via use-livecode wrote: I notice in the Standalone Settings for iOS in LC 9.5.1, a button ‘Background Execution’. If I click it, I get a warning that I don’t really understand which suggests that LC doesn’t officially support the feature. I’m not even sure if

How to make a mobile app stay alive in the background?

2020-04-26 Thread Graham Samuel via use-livecode
The app I’m developing runs continuously once launched, recording quantities such as the elepsed time and sensor data. In the version I’ve managed to load into my phone (thanks, Panos!) it does this quite efficiently, but if the phone locks or another app is launched, my app stops running and ap