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

Events Stop when app goes offline and come back online. #5

Open
LeoCreer opened this issue Mar 22, 2018 · 1 comment
Open

Events Stop when app goes offline and come back online. #5

LeoCreer opened this issue Mar 22, 2018 · 1 comment

Comments

@LeoCreer
Copy link

LeoCreer commented Mar 22, 2018

Server restarts or app loses connection.
The server tries to send event down to clients.
All events subscribed to the listen Observable are lost however
The client is still receiving events there are no updates to view because observable ended.

I believe it has something to do with that dynamic listen observable.
Maybe you have more insight.

What do you recommend for a fix?

@LeoCreer LeoCreer changed the title Events Stop when app goes offline. Events Stop when app goes offline and come back online. Mar 23, 2018
@axmad22
Copy link

axmad22 commented Apr 19, 2018

Did you solve the issue, am trying to fiddle with websockets my self, but why not use WebSocketSubject from RxJS instead of a SocketIOClient, here is an article Auto WebSocket Reconnection with RxJS .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants