davesters / rn-native-mqtt

An MQTT client for React Native that actually works and exposes a simple Javascript interface
MIT License
63 stars 43 forks source link

Insecure TLS support? #2

Open tranhl opened 4 years ago

tranhl commented 4 years ago

@davesters As per title, just wondering if there was insecure TLS support, and if so, how do we go about configuring it?

davesters commented 4 years ago

I don't think it supports that right now, but it should not be too difficult to add. I can take a crack at it in the next day or two. And you are also welcome to submit a pull request. Just need to expose an option in the JS interface file and then map that to the right setting for both iOS and Android native MQTT client libraries.