# multiplatform

mohamed rejeb

02/07/2023, 2:05 PM
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.

Alejandro Rios

02/07/2023, 2:06 PM
risky why?

Zaki Shaikh

02/07/2023, 2:07 PM
And risky how?

mohamed rejeb

02/07/2023, 2:15 PM
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.


02/07/2023, 2:27 PM
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

Alejandro Rios

02/07/2023, 2:37 PM
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?

mohamed rejeb

02/07/2023, 4:27 PM
@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.


02/07/2023, 4:55 PM
I would recommend approaching the platform agnostic code to be written as libraries

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.