前台
react-native
后台
python Flask-SocketIO模块
坑
Received data was not a string, or was not a recognised encoding
解决方案
前台代码 this.socket = io('your host', {query: 'b64=1'})
需要配置 b64=1
react-native
python Flask-SocketIO模块
Received data was not a string, or was not a recognised encoding
前台代码 this.socket = io('your host', {query: 'b64=1'})
需要配置 b64=1