You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.
I am using this js client in a cordova application. I am suscribing to all the rooms when connected(onSuccess). But wen the application looses connection and reconnects, the connection success is called again and messages are recieved the nuber of times the connection was made. I don't know if this is a bug or we as a developer have to handle this issue.
The text was updated successfully, but these errors were encountered:
That does sound like a bug, and likely because subscriptions aren't being cleaned up appropriately. I think this might be fixed in an upcoming release, the PR for which is here: #31
That PR comes with a host of other changes though, in particular, moving to using Promises where possible in place of callbacks.
I'll find out if this is indeed fixed in the upcoming release and let you know.
I am using this js client in a cordova application. I am suscribing to all the rooms when connected(onSuccess). But wen the application looses connection and reconnects, the connection success is called again and messages are recieved the nuber of times the connection was made. I don't know if this is a bug or we as a developer have to handle this issue.
The text was updated successfully, but these errors were encountered: