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

Example please

Open RahulPillai22 opened this issue 5 years ago • 2 comments

I have tried including this in my project in expo but I just can't get it to work, I have tried it with cloudmqtt, hive and eclipse online free brokers but its not working. Can someone link a project they have made in react native using this library for MQTT. That will give me much more clarity thanks.

RahulPillai22 avatar Mar 03 '20 09:03 RahulPillai22

me too have ou find any example to publish data ?

KrifaYounes avatar Apr 19 '20 19:04 KrifaYounes

For publishing: let message = new Paho.MQTT.Message("Hello"); message.destinationName = "react_native/World"; client.send(message);

Pofke avatar Apr 19 '21 10:04 Pofke