I'm trying to make a http call and share that cros...
# kotlin-native
b
I'm trying to make a http call and share that cross platform (android/ios) with coroutines.
s
Are you doing that with ktor?
s
I had to use kotlin version 1.3.0-rc-145 which is 0.90.2 because there aren't any builds of ktor built with 0.90.3. Trying to get everything lined up has been a struggle.
See my question in #ktor
b
Agreed. I'm going to wait for the official Kotlin 1.3 release and hope that works.
j
isn't that exactly what https://github.com/JetBrains/kotlinconf-app/ already does? I tried it today and it works just fine on iOS & Android
b
they're not using run blocking in a cross platform library if you checkout my example it's based on the kotlinconf-app code. I was surprised it didn't work as well.
https://kotlinlang.slack.com/archives/C0A974TJ9/p1538888009000100 JB confirmed it's broken so hopefully this works in future releases.
j
okay, I see 🙂
s
I have a working ios implementation of an http call on iOS using the same versions the conference app does. https://github.com/samus/mpp_chuck_demo
👍 1
b
looks like you're using an older version of kotlin native
s
Yeah. Everything is slightly older until the dependencies all catch up.
👍 1
b
thank you for sharing your code. i was able to fix up my project based on your dependency tree 🙂