sefidgaran / signalr_client

A Flutter SignalR Client for ASP.NET Core
https://pub.dev/packages/signalr_netcore
MIT License
71 stars 111 forks source link

Hub connection get close when the screen gets timeout #74

Open prabhav-techtemple opened 8 months ago

prabhav-techtemple commented 8 months ago

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.

os01ri commented 7 months ago

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.