-
Notifications
You must be signed in to change notification settings - Fork 184
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
Event listeners not being fired on iOS #36
Comments
Please try with the latest version to see if it helps. |
Just tried it, the issue still persists. |
@larsbs I try the following example with iPhone 11 simulator on Android Studio, it works well.
The example,
Socket.io server (both NodeJs
The result printed on Android Studio:
|
Confirmed to be working. I wasn't specifying the transport protocol. |
@Tbrz423 I try with the python server example, and the code above I post still works well on Android Studio in either iOS or Android simulator, so I close this issue. |
I've setup a SocketIO client in my Flutter project, and can successfully connect to a local SocketIO server. The connect and disconnect events work, and I am able to emit data to the server, however when the server emits data the client's events don't fire.
Code for client:
The server is written in Python using Flask-SocketIO, and I know the implementation is correct as it can communicate fine with Python and C# SocketIO programs.
Flutter version: 1.9.1+hotfix.4
socket_io_client version: ^0.9.4
I suspected this might have been a firewall problem however I was able to run a similar Python SocketIO server and send and receive messages on the same computer.
Any help is appreciated.
The text was updated successfully, but these errors were encountered: