Introvertuous / react-native-mqtt

Mqtt client for react native.
MIT License
156 stars 31 forks source link

subscription issue #1

Closed Introvertuous closed 8 years ago

Introvertuous commented 8 years ago

subscribing to topics is not working properly.

Introvertuous commented 8 years ago

The problem was not with paho but with the websocket package I was using on the broker side (websocket-stream).

The library did not allow for a binary option on the websocket to be configured and paho expected a binary packet.

The problem was mentioned a while back but no fix was committed so I made a comment and a new pull request was made by one of the collaborators which should resolve the problem.

Here is the original issue that led to that pull: aedes #61.