We need to add a new networking module to our Android & iOS apps (maybe sqldelight as well), so it's a great time to look at KMM. Any jump start points I can take a look at?
Edit:
The Android app is now a 100% Compose app with navigation driven by Square Workflows. We'll be making the transition from Workflows to Compose based Presenters/Workflows, a la Molecule. Transitioning the presentation & business layers to Compose-KMM might be another avenue to explore.
m
mohamed rejeb
04/30/2023, 3:53 PM
You can a take a look at this app of mine, I'm using ktor for api calls.
I'm using compose multiplatform here as well, you can ignore that part and use the repository directly in your iOS project or you can even have a shared business logic between the two apps.
https://github.com/MohamedRejeb/Pokedex
t
Tudor Luca
04/30/2023, 3:58 PM
I appreciate your response, will take a look. š
t
Thomas Hormes
04/30/2023, 5:01 PM
Maybe also take a look at ktorfit: https://foso.github.io/Ktorfit/
Has worked out great for us and simplified our development a lot.
r
russhwolf
04/30/2023, 10:11 PM
Workflow has multiplatform support, so you may be able to try kmp out before doing all of your other planned architecture changes
t
Tudor Luca
05/03/2023, 2:11 PM
@russhwolf yup, I was planning & relying on that. š¤š