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

MQTT Client native module for react-native

Results 19 react-native-mqtt issues
Sort by recently updated
recently updated
newest added

I've followed your instructions after creating a new blank React Native application. I keep getting the following error when trying to build the application. > RCTMqtt.m:15:9: 'MQTTClient/MQTTClient.h' file not found

{ [TypeError: undefined is not an object (evaluating 'Mqtt.createClient')] adb logcat

In your instructions you stated > Insert the following lines inside the dependencies block in android/app/build.gradle, don't missing apply plugin:'java' on top: but that causes the build to fail. When...

as per the latest android manifest rules, tag should be kept inside tag, AAPT2 displays an error if this tag is misplaced.

![Screen Shot 2019-03-12 at 10 19 55 AM](https://user-images.githubusercontent.com/48466380/54175926-b13dde00-44b2-11e9-940a-404805984fab.png)

added qos and retain as argument to client.publish function

问题现象, 不停的给mqtt服务器发送消息

No matter what I pass to the `removeClient` function, react always complain about the clientRef not being present. How can I fix it? Here is a example of my code:...

` **Task :react-native-mqtt:compileDebugJavaWithJavac FAILED** @Override ^ 1 error FAILURE: Build failed with an exception. ` I created a pull request here: https://github.com/tuanpmt/react-native-mqtt/pull/25