Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example please #27

Open
RahulPillai22 opened this issue Mar 3, 2020 · 2 comments
Open

Example please #27

RahulPillai22 opened this issue Mar 3, 2020 · 2 comments

Comments

@RahulPillai22
Copy link

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.

@KrifaYounes
Copy link

me too
have ou find any example to publish data ?

@Pofke
Copy link

Pofke commented Apr 19, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants