It would be awesome if Wire would support generation of Kotlin classes used in multi-platform project and have a runtime which supports both Android and iOS.
Based on the activity and the changes in okio, it seems that this goal is realistic. Do you have any concrete goal on that direction?
Thanks for the great work!
Yep, we're working on it.
I don鈥檛 wanna use Ktor as the network client. I am waiting for Wire to be the default network client for both multi-platform and native android app development.
@SAGARSURI Wire is not a network client, it's a code generation library. Wire's gRPC implementation depends on OkHttp for networking on JVM and we currently don't have a Native networking backend.
Thanks for the clarification @Egorand
Does Wire 3 support Kotlin multiplatform?
@bourquep it does, check out the demo here: https://github.com/Egorand/wire-multiplatform-sample
Thanks for this @Egorand! More specifically, does Wire 3 support gRpc (client) on multiple platforms?
No, gRPC is currently only supported on JVM.
Do you know if there are short-term plans to support it on other platforms?
PRs are welcome!
It is taking time but it's on our roadmap. We'll update issues when we have news.
@swankjesse, @oldergod any progress on this?
How do you generate multi-platform Kotlin code using the compiler CLI?
Most helpful comment
Yep, we're working on it.