unsubscribe and clean parameters
Opened this issue · 1 comments
debdutto commented
Hi,
I see that neither the method 'unsubscribe' or the connect parameter 'clean' is present in the API specifications for react-native-mqtt. Trying to call unsubscribe throws the error 'unsubscribe' is not a method.
Since, the underlying libraries already support these features which are an essential part of the MQTT protocol. Can they be used in any way? Or are there any possible workarounds to avail these features?
pewh commented
+1 for unsubscribe.
I think it's possible to add functionality on unsubscribe, but unfortunately Java/Obj-C is not my primary language. Maybe somebody can add PR for wrap unsubscribe?