How to keep active websocket connection when the app is in Minimize mode for tablet? #12245
Answered
by
chrisglein
rahulmishra1991
asked this question in
Q&A
-
I am using websocket connection for communicating with my third party app. I am using Ping-Pong mechanism to keep my connection active. But in the tablet when the app goes minimized Ping is stopped working and after 10 minutes automatically websocket connection disconnected. Is there any solution so I can send PING even app is in minimized mode. |
Beta Was this translation helpful? Give feedback.
Answered by
chrisglein
Oct 25, 2023
Replies: 1 comment 4 replies
-
This isn't going to be a question specific to React Native. Have you tried looking for answers on UWP for this on stackoverflow or otherwise? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm not an expert on this topic, but here are some resources I found that may be useful from a native UWP perspective:
Obviously the concept of "minimized" isn't a thing on mobile, but apps being shut down while in the background is. Here are some similar queries for mobile scenarios: