Quasar WebSocket Client: Keep Running in Background with Capacitor? #17854
Unanswered
nevzataksoy
asked this question in
CLI - Capacitor / Cordova modes
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I designed a WebSocket client in the Quasar Framework. My app works fine on the web and Capacitor platforms. However, when users switch to another app on Android or iOS, my app goes into the background, and the WebSocket connection is lost. It seems like the app is unmounted, completely cutting off communication with the socket server.
How can I prevent this?
Which packages can keep the socket listener active even when the app is in the background? Has anyone experienced this issue? What solutions can I implement?
Beta Was this translation helpful? Give feedback.
All reactions