-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
what is best way for catching server errors without red screen of death #25
Comments
I have same problem. |
Same problem. I created a handler for the AppState change so when the app state = "background" I stop the connection.. something like this:
and I restarted the connection in the "disconnected" signalr event... for my needs, it worked, hope it can help you |
Thanks @brunobraun, it helped me. |
In my case, stopping it in the background gave me a problem, when I restarted signalr it was stays stuck in connecting state, and only connected when i came back to the app. So i stopped and restarted signalr on 'active' AppState |
@brunobraun sample code please, I mean more than that _handleAppStateChange change function.Will be great help |
Awesome module,thank you very much for your work!
I have a question-what is the best way for catching server errors without red screen of death?
Thank you!
The text was updated successfully, but these errors were encountered: