HI team, Last year I created KotlinMultiplatform ...
# multiplatform
k
HI team, Last year I created KotlinMultiplatform Project. Now i am trying to add io.ktor-network :2.0.0 framework into it. In my project its not adding all required libraries. I checked external frameworks in studio i am able to see below list of frameworks. Image 1: success case: I tried new project with latest android studio version and added io.ktor-network :2.0.0 framework I checked external frameworks in studio i am able to see below list of frameworks. Image 2: I want to update with new version. I am using socket connection in my project.
Copy code
@OptIn(InternalAPI::class)
val selectorManager = SelectorManager(Dispatchers.Default)
Internal api not working in iOS 🙂 we have to install version 2.0.0 with required libraries.
Thanks team, I found the problem, resolved. 1. Updated my io.ktor.network with 2.0.0 2. Removed unused dependencies in shared gradle. 3. network able to access both iOS/Android.