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:
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