signalr_client icon indicating copy to clipboard operation
signalr_client copied to clipboard

Hub connection get close when the screen gets timeout

Open prabhav-techtemple opened this issue 1 year ago • 1 comments

I am developing an app with a hub connection...Everything works perfectly when the screen is still on. But when the screen goes dark the connection gets close.

prabhav-techtemple avatar Dec 12 '23 07:12 prabhav-techtemple

Im facing the same issue, even if the user opens another app for sometime and gets back to my app he finds the connection stopt, although im using .withAutoReconnect().

And even if it reconnects, my old listeners _hubConnection.on are not being listened to!, even when im doing it manually.

os01ri avatar Jan 26 '24 09:01 os01ri