Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ifeanyidotdev opened this issue Aug 28, 2024 · 5 comments
Open

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

ifeanyidotdev opened this issue Aug 28, 2024 · 5 comments

Comments

@ifeanyidotdev
Copy link

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
Copy link
Member

any reproducible example?

@tan-yaka
Copy link

@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
Copy link

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
Copy link
Author

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

@tan-yaka
Copy link

@ifeanyidotdev yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants