socket.io-client-swift icon indicating copy to clipboard operation
socket.io-client-swift copied to clipboard

Emit and event listener not working :(

Open ankathiriya opened this issue 5 years ago • 3 comments

Screenshot 2020-01-31 at 1 11 09 PM

Could you guys please check above screenshot after successfully connect I'm calling emit event with parameter and listing same event but it's not working.

ankathiriya avatar Jan 31 '20 07:01 ankathiriya

If you find out anything let me know as well also facing almost same behaviour but sometime.

afzalshk avatar Feb 03 '20 05:02 afzalshk

Are you expecting the server to send you something back based on the payload you're sending it? I'd start by listening to 'onAny' and see what events you get.

aronspringfield avatar Apr 07 '20 13:04 aronspringfield

you should put the socketmanager and socket client outside of scope. cause ARC released it when function ended

congtung10t2 avatar May 26 '20 09:05 congtung10t2