HELP! I am new in learning Kotlin Multiplatform. I...
# multiplatform
k
HELP! I am new in learning Kotlin Multiplatform. I am confused on what libraries or plugins that I need to use that will work on both platforms (Android & iOS). For the architecture I want to implement MVVM + CLEAN + Repository pattern. Can someone help me in suggesting what is the recommended plugins/libraries for the following: Navigation Local database handling Api service handling Dependency injection Unit testing MVVM/CLEAN/Repository pattern Please add more, if I forgot something. Thank you! 🙂
m
😲 1
🚀 2
k
Wow! I'll definitely try that.
Is Moko MVVM works for iOS? I thought it is not.
m
I never got it to work.
But there are workarounds for strings etc.
k
Do we have another alternative?
m
The problem is when you add multiple modules
Untitled.kt
p
If you come from Android you can try PreCompose, very similar to jetpack architecture.
z
Personally I find Voyager to be the simplest and easiest to get going for navigation and viewmodels. I've tried various other libraries and they all fall short in my opinion
yes black 2
k
Thanks everyone. I'm not from Android and currently, I'm really confused. There's a lot of info on how you do things. Not sure what's right or wrong.
c
@zt have you tried precompose?
z
no, i don't like string based routing
c
gotcha. i know you said voyaer was easiert and simplest, so i just wanted to make sure i understood which ones you've used and were comparing against. thanks for the reply!
👍 1