AS-Devs / signalr_flutter

A flutter plugin for .net SignalR client.
https://pub.dev/packages/signalr_flutter
MIT License
18 stars 29 forks source link

Get notifications when application is closed - Check if a connection exists #25

Closed AliEasy closed 3 years ago

AliEasy commented 3 years ago

Hi first: I want signalr to get notifications even if my application is closed

second: I want to check if signalr is connected before use signalR.connect(). because if use signalR.connect() multiple times hubCallback gets called multiple times when triggered. I used signalR.connect() 7 times and below is the result: image callbacks happened in one trigger

Thanks in advance

AyonAB commented 3 years ago

Ok for the 1st issue, I don't think its possible. App notifications are there for that. As for the 2nd one, it will be done in the next update probably.