Closed thomaslc66 closed 5 years ago
Sorry I don't get you. It is a pure js mobule so you could use it just like mqtt.js. You don't need react link this module or do something like that. Just require and use it will be fine.
I tell you this because when you add your lib on a react native and run it. We got an error :
should maybe add all dependencies in the package.json.
Make sure you use @taoqf/react-native-mqtt, not just use mqtt.js directly, please.
Is it possible for you to add more info about the linking process on the readme as well as with kind of data the message type supports ?? Thank you very much
https://github.com/SudoPlz/sp-react-native-mqtt/pull/1#issuecomment-498517526