I’ve writen kotlin library with ktor-client inside...
# ios
a
I’ve writen kotlin library with ktor-client inside. It works fine in macOS/windows (curl-client), Android (OkHttp). But on iOS (
io.ktor.client.engine.ios.Ios
) I have a lot of “timeout error”. ktor-client works in
Copy code
Worker.start(name = "actions").execute(TransferMode.SAFE, { ... }) {
            val ctx = newSingleThreadContext("actions")
            while (true) {
                runBlocking(ctx) {
                    performKtorRequests()
                    delay(Checker.WAIT_INTERVAL)
                }
            }
        }
I try to use kotlin 1.4.10 + ktor 1.4.2 + coroutinues 1.3.9-native-mt-2 and kotlin 1.4.20 + ktor 1.4.3 + coroutinues 1.4.2-native-mt What I do wrong? How can I found a problem?