I have a customer who is using a Xojo Cloud app of mine on her phone. She says if she switches from her browser to text messaging to answer a text, when she returns to the browser, the app has exited and forces her to start over and log back in.
It sounds likes her browser is forcing a refresh whenever she returns to it, forcing the application to relaunch or something.
I can’t get it to occur and wondered if anybody knew of a phone setting that might cause that.
Could be a number of things. What type of phone is it? What OS? It’s possible that her phone is running out of resources and is closing background apps and connections.
One recommended fix was to turn off Background loading of tabs, but that was already turned off on her phone.
Another was to clear the website and browser history which I asked her to do. I may work with her on resource usage and see how her available memory is and how many apps she’s running simultaneously.
The problem is that Safari Mobile gets paused when it’s in the background and the web app gets “disconnected” from the server. Our apps require a somewhat continuous connection to the server to work properly. If it’s long enough, the only thing that can be done is a refresh to reconnect to the app.
Although the OP states the user has it happen with even a brief pause such as viewing a text message. So my vote is with Gavin, and this particular phone is low enough on memory / resources that iOS is purging loaded apps.
Of course, the user’s definition of ‘immediately logs out’ could be a little sketchy as well.
What would you expect a normal timeout/refresh to be if the server lost communication with the user’s browser? That may help me determine if it is a routine disconnect or her phone purging the applications.
There is an Open Tabs in Background setting that I had her check in the Safari Settings. From some of the posts I read, I thought that would fix it, but hers was already turned off.