You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Paho not defined error when using connect function. The error message points to cordova-plugin-mqtt.js at line 110 "client = new Paho.MQTT.Client(args.url.split("tcp://")[1], Number(args.wsPort), args.urlPath||"/ws", args.clientId);".
Is this a known error? Am I doing something wrong?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Same here (trying on electron). I am quite disappointed, since the project seems abandoned, and I need to look for another MQTT solution (for Android and Electron). I used this plugin a few years ago, and as I remember it worked.
It's not clear if it'll work on Android (the Paho.MQTT.Client reference is in the 'other platforms' branch), but I need a general solution. It is also very convenient to debug on Electron.
The Eclipse Paho JavaScript client is a very good MQTT JS library that uses WebSockets to connect to an MQTT Broker. The GitHub code contains a utility app which can be used to test it. It works beautifully :) I tested it and succeeded to integrate it in my Cordova application.
Paho not defined error when using connect function. The error message points to cordova-plugin-mqtt.js at line 110 "client = new Paho.MQTT.Client(args.url.split("tcp://")[1], Number(args.wsPort), args.urlPath||"/ws", args.clientId);".
Is this a known error? Am I doing something wrong?
Thanks in advance!
The text was updated successfully, but these errors were encountered: