mike_s_ Posted July 23, 2022 Report Share Posted July 23, 2022 When logged in to BBO using the phone app (iOS in my case), temporarily switching to another app (to quickly respond to an important text msg, for example) causes the BBO app to log me off. That is very annoying. Switching apps should not cause BBO to log off. Please fix. If your concern is responsiveness, then could you at least limit auto-logoff to when I am actively playing at a table (not when I’m dummy, kibitzing, or not even at a table)? Quote Link to comment Share on other sites More sharing options...
smerriman Posted July 23, 2022 Report Share Posted July 23, 2022 This is a limitation on iOS's side. If it's moved into the background, they suspend the app shortly afterwards and do not allow it to run any code at all. (Things like music are handled via other means). So from BBO's perspective, there is literally no way to distinguish someone that switched apps from someone who disconnected. BBO could potentially change how long it takes for someone who disconnected to get logged out, but I suspect it's small for a reason. Quote Link to comment Share on other sites More sharing options...
mike_s_ Posted July 24, 2022 Author Report Share Posted July 24, 2022 I’ve never written iOS code, so I had no idea that it might not support running background processes. That’s a very strange limitation for an OS. Apps like messaging and email (which receive when they are not in the foreground) must also be handled as special cases then. Quote Link to comment Share on other sites More sharing options...
pescetom Posted July 24, 2022 Report Share Posted July 24, 2022 The same thing happens on Android, so it's not specific to iOS. Quote Link to comment Share on other sites More sharing options...
mike_s_ Posted July 24, 2022 Author Report Share Posted July 24, 2022 Settings -> General -> Background App Refresh Looks like some apps, including my email program (I guess messaging is using some other background processing mechanism) can be configured to periodically refresh. It seems that the BBO app isn’t registered to offer that option — it’s not on the list. Quote Link to comment Share on other sites More sharing options...
mike_s_ Posted July 24, 2022 Author Report Share Posted July 24, 2022 https://developer.apple.com/documentation/backgroundtasks/refreshing_and_maintaining_your_app_using_background_tasks Looks like you could kick off a recurring background task with a timeout just a little shorter than your disconnect timeout to check playing status and determine whether auto log off should be initiated. Quote Link to comment Share on other sites More sharing options...
barmar Posted July 27, 2022 Report Share Posted July 27, 2022 The same thing happens on Android, so it's not specific to iOS.Not on my Android tablet (Kindle Fire HD 8). Unless the other application needs too much memory, then the OS kills the background Chrome to get more memory. But I regularly switch to my radio app to change stations and then go back to the browser, and it's usually still connected. Quote Link to comment Share on other sites More sharing options...
pescetom Posted July 28, 2022 Report Share Posted July 28, 2022 Not on my Android tablet (Kindle Fire HD 8). Unless the other application needs too much memory, then the OS kills the background Chrome to get more memory. But I regularly switch to my radio app to change stations and then go back to the browser, and it's usually still connected.I was talking about the app (like the OP), not browser. I haven't noticed it with a browser but then I rarely play that way on Android. Quote Link to comment Share on other sites More sharing options...
barmar Posted July 28, 2022 Report Share Posted July 28, 2022 I was talking about the app (like the OP), not browser. I haven't noticed it with a browser but then I rarely play that way on Android.I realize that, but I think it's mostly the same code under the covers. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.