unium icon indicating copy to clipboard operation
unium copied to clipboard

1.0.5 ios socket bind not working

Open ShockRabbit opened this issue 3 years ago • 1 comments

environment : ios 14.4.1, Unity 2018.4.17f1, il2cpp build

socket bind working on UnityEditor, android

but not working on ios

because raise exception when CreateDelegate with UniumSocket.Message.Reply

I guess because CreateDelegate with Reply(string msg) instead of Reply(object data)

. . .

this code is working

// public void Reply( string data )            { Socket.Send( id, "data", string.IsNullOrEmpty( data ) ? "null" : data ); }
public void Reply( object data )            { Socket.Send( id, "data", JsonReflector.Reflect( data ) ); }

unium is a really great product. Thank you

ShockRabbit avatar Mar 21 '21 17:03 ShockRabbit

Thanks. I'm unable to create iOS builds but if you create a pull request I'll merge it in :)

gwaredd avatar Mar 22 '21 15:03 gwaredd