xively / xively-mobile-sdk-android

Xively Android SDK
Other
1 stars 6 forks source link

Automatic reconnecting to a channel leads to not receive messages #3

Open vlavianos opened 6 years ago

vlavianos commented 6 years ago

We are facing the following issue in both Android & iOS SDK:

Expected behavior: To continue to receive messages after automatic reconnect

PCaponetti commented 6 years ago

@vlavianos : After talking with product, this is intended functionality. re-subscribing is commonly a task of the application logic, not the MQTT client itself (citing Paho, MQTT.js, etc). I've had a call with the guys in product asking if it would be possible to automatically re-subscribe, and we came up with a couple of options internally that would satisfy the need but all require changes to the SDK and/or the platform.

For now, is it feasible to maintain the subscriptions necessary and force resubscribe from your application logic?

vlavianos commented 6 years ago

We could do that, however a concern is the following:

Thanks