rikulo / socket.io-client-dart

socket.io-client-dart: Dartlang port of socket.io-client https://github.com/socketio/socket.io-client
https://quire.io
MIT License
675 stars 185 forks source link

Flutter release build not working as expected on real device #390

Open ifeanyidotdev opened 3 months ago

ifeanyidotdev commented 3 months ago

i am working with this client on a flutter for mobile, if i build release build and run the release build on an emulator the socket works fine, but if i run the release build on a real device , the logs shows that the connection was successful but the socket does not do the intended for realtime data on the real device

jumperchen commented 2 months ago

any reproducible example?

tan-yaka commented 6 days ago

@ifeanyidotdev did you resolve this? I am seeing what appears to be the same behaviour trying to stream voice data over a socket. The app works fine in debug mode but with a release build it connects to the server ok but it never receives any data and the client app becomes unresponsive. Flutter client version 3.0.2 Node server version 4.8.1

tan-yaka commented 5 days ago

FYI @jumperchen @ifeanyidotdev I had to downgrade to socket_io_client 3.0.0 (socket_io_common 3.0.0) to get things working again. Unfortunately I don't know which was causing my issue but I'm pretty sure it was one of them.

ifeanyidotdev commented 5 days ago

@tan-yaka you downgraded and it now works fine on release build ?

tan-yaka commented 5 days ago

@ifeanyidotdev yes