Open manikandasankar opened 4 years ago
Thanks for report, I will check if i have time. pr is welcomed.
I get the same issue with every protocol, wss and mqtt included. Not sure what the issue is?
I am so sorry that I really have no time to do with this issue. but I will be happy to merge pr to fix this.
Any updates on this one?
pr is welcomed.
After 3 years... this is still happening.
Whenever tires to connect to a server by mqtt protocol, close event is emitted before getting connected. But works fine with ws/wss protocol.
const mqtt = require('@taoqf/react-native-mqtt') const client = mqtt.connect('mqtt://XXX.XXX.XXX.XXX:1883);
Example: const client = mqtt.connect('mqtt://test.mosquitto.org:1883');