Replies: 1 comment
-
FYI, I solved this by using the PWA lifecycle event handlers. In those handlers, I reconnect manually and resubscribe to everything that was subscribed already. IMO, this should be handled by the library as part of its reconnect logic. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Behavior for me is spotty in a running PWA. It’s fine until I go to the Home Screen on iOS, minimizing the PWA into the background. Sometimes bringing the PWA back to full screen, the connection appears to be non functioning.
I would think the reconnect would be done automatically.
Am I the only one who has seen this? Am I missing something in the docs?
I do have reconnectTimeout set to 1000.
I have tried calling reconnect() in the PWA lifecycle event handlers, but it doesn’t work.
Beta Was this translation helpful? Give feedback.
All reactions