Hi, when app is running on IOS and user locks their device, after around 5min when going back to the app everything is not working. When sending a message to the user they don’t receive it.
The user has to logout and log back in for everything to work again.
Please advise on how to handle this. We want the app to always receive messages even when user locks device or at least some method to make the app function again when coming back online.
Also, when the user is using WI-FI and the WI-FI connection is interrupted we experience similar results. The user misses messages, etc…
I’ve read everything from services workers, push notifications, to keeping the device awake and more.
What is the best method to solve this issue? Thanks so much!