Integration To integrate ktor into the project add the following lines under the dependencies node in the app module and other modules where you might have to make the network calls. // Ktorimplementation(“org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.2”)implementation(“io.ktor:ktor-client-core:2.3.12”)// CIO – for JVM and Androidimplementation(“io.ktor:ktor-client-cio:2.3.12”)implementation(“io.ktor:ktor-client-content-negotiation:2.3.12”)implementation(“io.ktor:ktor-serialization-kotlinx-json:2.3.12”) Then add the following line under the plugins section in the project-level gradle file. id ‘org.jetbrains.kotlin.plugin.serialization’ […]
This article tells the story of how Stream’s Android team refined our progress tracking process during file uploads in the Stream Chat Android SDK. Our original implementation to track file upload progress worked, but it had some in-code usability and UX issues that we wanted to clean up. The following account gives an up-close look […]