react-native-paho-mqtt icon indicating copy to clipboard operation
react-native-paho-mqtt copied to clipboard

Reconnect option as we have in paho-client

Open developercode1 opened this issue 7 years ago • 9 comments

Hi,

Can you please add reconnect functionality to the connection params object as we have in the paho-client?

TIA

developercode1 avatar Sep 04 '18 10:09 developercode1

same issue.

bahientn9x avatar Sep 22 '18 14:09 bahientn9x

same issue here

wazho avatar Oct 15 '18 05:10 wazho

+1

bepehr avatar Dec 18 '18 05:12 bepehr

Same issue.

dophlin avatar Feb 23 '19 10:02 dophlin

Ok, this seems like a good candidate to add.

Just so we’re on the same page - are you (all) interested in reconnect after a network interruption while the app is in the foreground, or after the app becomes active from a suspended state? They’re slightly different problems.

robhogan avatar Feb 23 '19 11:02 robhogan

Personally, I experience the network interruption when the app state has been changed, so I prefer that the reconnect process occurs after the app becomes active from a suspended state.

dophlin avatar Feb 24 '19 08:02 dophlin

I think it should be when app active, because ios can't keep the connection in the background when the screen is off. Thanks for considering this

bahientn9x avatar Feb 24 '19 15:02 bahientn9x

Has this option been added? Where can I get a detailed documentation of the 'react-native-paho-mqtt' library (not the base library paho.mqtt)

mohit-shah avatar Sep 05 '19 09:09 mohit-shah

Any news?

niklaaa avatar Mar 29 '21 15:03 niklaaa