https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
m

Maurice Jouvet

12/04/2019, 2:13 PM
Hi, I don’t know if you have the same problems as me, but I am struggling a lot to find a good starter project with testing. I was looking to get our Kotlin app to MPP, in order to have iOS support. The refactoring part, is done with clean architecture and TDD. But for the MPP, there is always something not working correctly. Intellij is always saying something is failing, and so on with the dependencies... I tried so many times.. I Started with the kotlinconf-app, but there are too many differents ways on the web, I couldn’t find a great project for this. My superior is now thinking about Flutter, if you could give me some advices? Or a really good place to start? I am missing a good understanding of how the gradle projects, modules are fitting together. Thanks in advance.
m

mbonnin

12/04/2019, 2:22 PM
The KotlinConf app is a good starting point. Else, this one is very good too: https://github.com/touchlab/DroidconKotlin
If you have specific problems, feel free to ask but explaining gradle, mpp and modules here would take a long time
m

Maurice Jouvet

12/04/2019, 2:24 PM
Yes I understand, thank you a lot.
That's also a good starting point
m

Maurice Jouvet

12/04/2019, 2:26 PM
Yes exactly.
But I will read it again, to better understand it.
m

mbonnin

12/04/2019, 2:28 PM
What I did when trying to port an Android project to iOS was to get a . framework file
From there import it in xcode and start using it
t

Tobi

12/04/2019, 2:57 PM
I have a small pet project that might help: https://github.com/tobiasheine/multiplatform-movies Got lots of good inspiration from https://github.com/russhwolf/soluna, which is also worth a look.
m

Maurice Jouvet

12/04/2019, 2:59 PM
Thanks
r

russhwolf

12/04/2019, 5:19 PM
Soluna has lots of messy use-cases and is still very WIP, so it might be a little daunting at first look (though I’m happy to answer questions), If you just need help with config and runnning tests, https://github.com/russhwolf/multiplatform-hello might be more digestible.
m

Maurice Jouvet

12/05/2019, 10:02 AM
Thanks a lot! I will ask you if needed. I watched a presentation of you, during DroidCon in NYC. It helped. 😉
I am watching live of KotlinConf it’s nice.
2 Views