Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The protocols parameter of wx.connectSocket should be Array. (mqttjs#969
) Wechat mini app document url: https://developers.weixin.qq.com/miniprogram/dev/api/network/websocket/wx.connectSocket.html. If the protocols value is 'mqtt' instead of ['mqtt'], it will be failed if you use the android device, the interesting thing is iOS works. Both android and ios works if the value is an array.
- Loading branch information