Closed chris13524 closed 1 month ago
Hey @chris13524 this is done by design. The websocket is opened on client init to validate that the connection can actually be established. Think of the cases where projectid
is missing/invalid, jwt is invalid etc. It would only be caught when user tries to interact with the client and might mislead devs into thinking that since client inits, all is good while that isn't the case
Describe the bug A WebSocket connection is opened in an private browser window before I even open the modal. It was described that the WebSocket connection isn't needed unless there is a subscribed topic. However it will still open the connection initially but then close it without any messages going through it.
Slack conversation
SDK Version (if relevant) latest
To Reproduce Steps to reproduce the behavior:
Expected behavior A WebSocket isn't opened until an action is performed that requires it (e.g. generating the QR code).
Screenshots