Open Nautiyalsachin opened 7 years ago
Hi, I am trying to fetch all the pending messages whenever app comes in foreground but the app is getting crash on
init(header: MQTTPacketFixedHeader, networkData: Data) {
and at let topicData = networkData.subdata(in: 2..<topicLength+2) this line.
Hi, I got the same issue can anybody help me in the above issue thank you
try using https://github.com/Nautiyalsachin/SwiftMQTT. It contains solution for this issue.
Hi, I am trying to fetch all the pending messages whenever app comes in foreground but the app is getting crash on
and at
let topicData = networkData.subdata(in: 2..<topicLength+2) this line.