edusperoni/nativescript-mqtt

Roadmap for compatibility with native MQTT protocol (no websockets)?

rhclayto opened this issue · 1 comments

Hi,

Are there any plans to make this work with work with native MQTT packets over TCP/TLS, avoiding the extra websockets wrapper? I'm guessing since NativeScript lacks node's net module, it might be hard? Would the net-browserify module help any? https://github.com/emersion/net-browserify

That would require some deep editing of eclipse's mqtt script, as it's design to work with websockets.

In that case, it's actually easier to reimplement the plugin using native libs like:

https://github.com/novastone-media/MQTT-Client-Framework for iOS

and

https://www.eclipse.org/paho/clients/android/ for Android

PRs are welcome :)