https://kotlinlang.org logo
Title
v

Vivek Mittal

05/05/2023, 10:10 AM
I created a multiplatform library. Integration with iOS went smoother than expected. On Android, seeing a bunch of exceptions one after another. Added a few dependencies that were added to the multiplatform lib. Do I really have to add indirect dependencies? Most importantly, I am getting an exception.
Engine doesn't support WebsocketCapability.
Can I not use sockets in the multiplatform library? IMO it should support.
j

Johann Pardanaud

05/05/2023, 12:59 PM
Are you using Ktor? You cannot use the Android engine, you should change for OkHTTP or CIO.
v

Vivek Mittal

05/05/2023, 2:05 PM
This is super helpful. Thanks.