socket.io-client-swift
socket.io-client-swift copied to clipboard
Socket Emit Ack false
Work with Swift 4.2 every time false.
Socket.IO-Client-Swift (13.3.1)
Starscream (3.0.6)
web and android sending event's received. but From iOS sending event not receive any where.
LOG SocketIOClient{/}: Emitting: 2["typing",{"room_id":"3709948727","recever":"994"}], Ack: false LOG SocketEngine: Writing poll: 2["typing",{"room_id":"3709948727","recever":"994"}] has data: false
I have try all emit function but every time false. 'isInternalMessage : true' then receive event self user but external user not our event.
let online_grpdata = ["room_id":room_id,"recever":recever]
- socketClient.emit("typing", dicTest)
- socketClient.emit("typing", with: [online_grpdata])
- socketClient.handleEvent("typing", data: [online_grpdata], isInternalMessage: true, withAck: 1)
Did you try emitWithAck() function?
@BRLOKESH What exactly is the issue? I'm not sure what you're trying to do.
Every thing was working fine after updating socket server fro socket 2 to 3 when I emit some thing there is an error "Ack: false".
here is log
Same issue.. Can anyone find the solution for this