Hi guys, I'm going to start a big project with my ...
# multiplatform
m
Hi guys, I'm going to start a big project with my team with KMP (Android, IOS, Backend, Web (Dashboard)) Our goal is to share the maximum amount of code but I think that it is a little bit risky, what do you think.
a
risky why?
z
And risky how?
m
I don't know, the project is big and it's the first time we work with the technology. I'm just asking if there is something to worry about.
p
I don't see risk at all. What you cannot do in common code, you can do it in each platform. Just depend on a common abstraction and have the appropriate platform implementation. That's how KMP rolls
a
Start small, try to implement some network calls to KMP and use those in the projects
Also, if you're not sure about this, why are you going to plan to implemented in a big project?, are you the only one with doubts about this? did the team made a research on the actual status of the technology to see if it fits your needs?
m
@Alejandro Rios the technology fits the needs and the decision is made to work with KMP, our main goal is to see if we can reduce the work time of the project. I'm working with Kotlin for 2 years and I've tried KMM and CMP. I just wanted to get some advices. Thank you all guys, I will share with you my experience as soon as we make some progress.
c
I would recommend approaching the platform agnostic code to be written as libraries

https://www.youtube.com/watch?v=Z2PHpxVD9_s&t=302s&ab_channel=Xebia

This is a very cool video on the topic and it expresses how to create libraries with several different sources on it, like C, Swift, Objective-C and Kotlin.