react-native-mqtt
react-native-mqtt copied to clipboard
MQTT Client native module for react-native
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.

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