But the fetcher call cannot resolve launch, runBlocking, async, or anything in kotlinx.coroutines. Any ideas?
s
Sam
03/12/2020, 9:24 PM
This really should be in an FAQ.
runBlocking
isn’t in coroutines-common because there isn’t a version of it possible in javascript. You can use expect/actual with typeAlias on the iOS and Android platforms.
Thanks, I was able to get it to build by putting the code into the android actual.kt, but then i went to test the library in an android app and I get this error: