taoqf / MQTT.js

The MQTT client for Node.js and the browser
Other
12 stars 8 forks source link

INVALID_STATE_ERR is causing the device to CRASH #3

Open sjpeter opened 4 years ago

sjpeter commented 4 years ago

my enviorment: react-native@0.60.4

the dev no problem, but pakageing apk INVALID_STATE_ERR is causing the device to CRASH;

I find start mqtt. the app crash. I try no run mqtt , the app no problem. I don't find other problem.

You can hlep me.

taoqf commented 4 years ago

I haven't upgrade react-native to 0.60.x, I am using this in my projects with react-native 0.59.x, and it runs ok. What mqtt server are you using? I think you could try to resolve this issue by looking in the differences between 0.59.x and 0.60.x. spatially the network security between debug and release mode.