Nice. What did you end up using for shared networking code?
03/30/2021, 11:37 AM
We used Ktor with expect/actual HttpClientProviders, primarily because there were problems with self-signed certificates in backend and the client engine had to be configured accordingly
03/30/2021, 1:07 PM
@Lena Stepanova It seems most of the issues in your Kotlin Multiplatform experience were based on the fact you are using the classic UI toolkits on Android and iOS. If you use JetpackCompose and SwiftUI lots of these problems go away for ever. With declarative UIs, you can write the state management in Kotlin just once and the iOS app won’t be a mountain to climb anymore.
Have a look at the D-KMP sample:
03/31/2021, 6:53 AM
@Daniele B It was SwiftUI in iOS, but "old style" in Android, so the common side was kind of minimal. Now we're working on a new project, with KMP + SwiftUI + Jetpack Compose. This time sharing feels easier 🙂 Thanks for the sample!