Android losing websocket connection in foreground service
I am using a websocket connection to my server to receive/send specific messages.
There messages also comes with a Notification.
Everything works fine when the connection is made. The Push Notification shows up when i send a message from the server to the App and everything works fine, but when i try it again after 30 minutes or longer and send a Message from my server to the App nothing happens.
From what i can see in the logs both the App and the server socket connection is not disconnected...