I compiled my simple example to an iOS framework. ...
# kotlin-native
b
I compiled my simple example to an iOS framework. The
GitHubKt.getGitHub()
call hangs forever on iOS. Is that expected or a bug? https://github.com/bootstraponline/run_blocking
o
sometimes it is not a bug in Native 🙂 https://news.ycombinator.com/item?id=17543114 but here I'd suggest to ask on #coroutines
👍 1
o
generally, HTTP client is known to work, IIRC. So it depends on which thread you call into Kotlin framework
b
I haven't found any successful examples of runBlocking on iOS. I'll probably have to wait for the tech to mature.
If I don't use the HTTP client then runBlocking works fine. I'll open a ktor issue.