Skip to content
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

Feature request: Auto-reconnect realtime after lost connection #1098

Closed
JakesMD opened this issue Dec 10, 2024 · 1 comment
Closed

Feature request: Auto-reconnect realtime after lost connection #1098

JakesMD opened this issue Dec 10, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@JakesMD
Copy link

JakesMD commented Dec 10, 2024

Currently, when the real-time connection is lost, an error is thrown, and the stream closes.

It would be much more convenient if the Supabase package automatically handled reconnections for us.

Interestingly, there is a known bug (#1071) where, on some platforms, no error is thrown, and the device continues receiving real-time updates as soon as the internet connection is restored.

Could this behavior be considered a feature rather than a bug?

@JakesMD JakesMD added the enhancement New feature or request label Dec 10, 2024
@JakesMD
Copy link
Author

JakesMD commented Dec 10, 2024

After reviewing PR #1019, it seems this behavior is already intended. The real bug, therefore, is that on certain platforms, the stream closes with an error when the internet is disconnected, even though it shouldn't.

@JakesMD JakesMD closed this as completed Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant