I would like to know how everyone handles Unity Android background behaviour, When the game is minimized the socket does not close at all if he stays in the background for a long time. I tried changing the the duration but it did nothing
_socket = _client.NewSocket(useMainThread: true, new WebSocketAdapter(20));
as a result I manually close the connection whenver the user minimizes the app. and connect again when resumed.
I want this behavior to be linked to the socket timeout. Any tips on that? @sesposito