floatinghotpot / socket.io-unity

socket.io client for Unity, power game client with node.js back-end
494 stars 76 forks source link

Not working on device (Android/ IOS) but working on editor #11

Closed charanjeet5ingh closed 6 years ago

charanjeet5ingh commented 6 years ago

Hi I am using unity version 2017.2.0f3 personal edition.

Socket io is running fine on editor but it's not working on android device though I get the connection request on server side but socket listeners are not working on device.

Will this work on https because http is working but https is not working.

charanjeet5ingh commented 6 years ago

W/mono(19374): Missing method Parse in assembly /data/app/package-name/base.apk/assets/bin/Data/Managed/SocketIoClientDotNet.dll, type Newtonsoft.Json.Linq.JObject

charanjeet5ingh commented 6 years ago

Got the solution please change api compatibility level in player settings to 2.0