SocketIOClient on Xamarin doesn't work on real

2019-08-03 04:33发布

I'm trying to use SocketIOClient on Xamarin.Android and Xamarin.iOS, and it works corrrectly but only on imulators. When I start apps on real devices socket doesn't work and app just doesn't show any errors in try-catch blocks. May by anyone has same problem and fixed it. Thanks.

1条回答
干净又极端
2楼-- · 2019-08-03 04:51

Did you use this library SocketIoClientDotNet. If yes, I also have your problem on iOS. My solution is get the SocketIoClientDotNet code and rebuild in my xamarin project.

Checkout my demo here: https://github.com/tudushare/XamarinSocketIODemo

查看更多
登录 后发表回答