socket.io icon indicating copy to clipboard operation
socket.io copied to clipboard

Unable to disconnect socket into ionic application.

Open krunal9421 opened this issue 7 years ago • 2 comments

I am not able to socket disconnect into ionic application. I have socket.on into the constructor of common page in providers. I want to disconnect socket into a function on the same file from where application logout is called.

But I am unable to disconnect the socket. I am multiple socket.on('event') on multiple emit into application. Can anyone help me out?

Screenshot of code for reference: https://i.stack.imgur.com/wrIEv.png

krunal9421 avatar Nov 11 '19 05:11 krunal9421

@radinmoradi any update for me?

krunal9421 avatar Nov 13 '19 02:11 krunal9421

Closed due to inactivity, please reopen if needed.

darrachequesne avatar Nov 24 '21 10:11 darrachequesne