is not available for common code. But what If I legitimately want to block until coroutine completes? For example I have a ktor websocket and I want to wait until it disconnects before exiting the app. What do people do? Should I create expect/actual runBlocking?
Hello everyone, I am trying to setup a mpp project with multi-module setup. First question, is it yet possible for iOS app to depend on multiple mpp modules?I have this kind of dependency tree,
androidApp (Android app)
repository (mpp lib)
| api ↓impl
| ____`network (mpp lib)`
data (mpp lib)
2 years ago
Hello everyone, what's the latest on debugging multiplatform code from the iOS side? Touchlab's kotlin XCode plugin allows you to view Kotlin source but we don't have our iOS and kotlin projects colocated.Is there a way to get source maps from the ios framework so that I can set breakpoints in XCode and step into the kotlin side?
2 years ago
Just to add to my previous points, this is my structure. I see some examples where debugging works (either in AppCode or XCode) with everything in a single repo, but not with this kind of split structure
Looking for advice on structuring my multiplatform project to help manage JSON contracts. I've got a project with three components: a server-side (JVM), a client-side (JS), and a common library. I have certain REST services exposed on the server side that are consumed by the client side. I want to standardise the JSON serialisation of types that are passed across the REST endpoints. Is there a good way to make use of the common library to enforce serialisation so that I don't have to have multiple type declarations (that can get out of sync)?