mobile-web-messaging / MQTTKit

MQTT Objective-C client for iOS
Apache License 2.0
462 stars 226 forks source link

Not Receiving Offline Messages on Reconnect #32

Open Megatron1000 opened 9 years ago

Megatron1000 commented 9 years ago

Messages sent through when my app is connected come through fine. Messages sent when the recipient is disconnected send fine but when the recipient later connects I don't receive any of the offline messages. I'm using the app with an Android counterpart and this receives my offline messages fine so the sending doesn't seem to be where the issue lies. I'm connecting with clean session set to false and have tried subscribing again as well as just connecting without resubscribing. Any ideas what the problem could be?

stefannilsson commented 9 years ago

Can you please verify you connect with the same clientId you used when estabilshing the durable subscription in iOS?