robhogan / react-native-paho-mqtt

react-native-paho-mqtt
91 stars 32 forks source link

How to add "onConnected" listener? #43

Open MohitGupta913 opened 1 year ago

MohitGupta913 commented 1 year ago

I need "onConnected" callback whenever the client connects or reconnects to the MQTT server. Any help is appreciated!