SwiftMQTT icon indicating copy to clipboard operation
SwiftMQTT copied to clipboard

session.subscribe() is not working on XCode 11.3.1

Open sarangborude opened this issue 4 years ago • 3 comments

Publish is working fine. I am making the subscribe call once the connection happens, but there is no response to the subscribe call, no error or sucess

sarangborude avatar Feb 27 '20 01:02 sarangborude

Yeah, the completion callback is never called, however my app is able to receive messages.

ream88 avatar Mar 23 '20 08:03 ream88

I've seen this issue too. It looks the the subscribe request is sent out with a message id of 1, but the response comes back with a message id of 0. This means the relevant callback won't be called. I wonder if it is a remote side issue as the message ids are wrong.

dermdaly avatar Jun 23 '20 12:06 dermdaly

PR#45(https://github.com/aciidb0mb3r/SwiftMQTT/pull/45) solve this issue. i.e. relevant callback will be called.

I checked on Xcode11.6.

tyagishi avatar Jul 20 '20 12:07 tyagishi