itisnajim / SocketIOUnity

A Wrapper for socket.io-client-csharp to work with Unity.
MIT License
393 stars 67 forks source link

Android Build: .Net Framework, IL2CPP, Not Connect Socket.io Server #19

Closed ncherra closed 2 years ago

ncherra commented 2 years ago

I can connect from the Editor and from the build for Window and it works perfectly, but I can't connect from Android at all and it doesn't respond. I already add permission to use internet from the AndroidManifest.xml. I am using socket.io: 4.5.1 from my Express.js server. Verify that it is not the HTTPS and start a service with NGROK with the HTTPS certificate and I got the same nothing

ncherra commented 2 years ago

I solved the problem by changing my socket: 4.0.0. It seems that there is some kind of incompatibility from the server