KMM as a New Approach to Cross-platform App Development

Katya Uvarova
KMM

What is KMM?

KMM stands for Kotlin Multi-platform Mobile and it’s a new way to develop mobile apps. It’s a combination of both native and cross-platform approaches. Within this method, we can write the common server logic for several platforms. By server logic we mean not the backend development but the "server layer". It is a part of the application that exchanges data between the app on the phone and the server.

At the same time, the UI part will be separate for each platform. For example, there will be one code for iOS and a different one for Android. For more detailed information, you can check the official website.

Advantages

  • With KMM you can save your time for development, insofar as server logic needs to be written once for all platforms. That means that iOS developers and Android developers won’t need to do the same work twice as it happens now. It can speed up the development process by about 30%.
  • Same stands for money. The majority of developers charge money hourly, so if you save your time, hence, you save your money.
  • Unlike regular cross-platform applications, KMM allows you to create apps which look native on each platform. This happens because the UI part of the app (visual appearance) developers make separate, for example iOS developer makes visual part for iPhone app, and, at the same time, Android developer creates visual part for an Android app. So, compared to other cross-platform methods, KMM won't let you sacrifice a good UX.

Disadvantages

  • In KMM, they write server logic using Kotlin. Kotlin is originally an Android app development programming language. The problem here is that not a lot of iOS developers know this language to use it in app development. So it could not be very easy to find a team that can handle this approach.
  • The novelty of the framework. KMM is still in the beta stage. That means that no one can guarantee its stability. So if you make a decision to create your mobile apps using KMM, you will probably need a maintenance team in case of any errors that may appear. The good news here is that the Kotlin team has promised to release the alpha this year.

Examples

Despite the fact that KMM appeared quite recently, it already has many fans among the well-known brands. For instance, it helps Netflix optimize speed and product reliability. Leroy Merlin uses KMM in their mobile app. Among the KMM users, you can also find such giants as Philips, Cash App, VMWare, Quizlet, Autodesk, and many others.

If you are thinking about cross-platform app development services for your idea, you really should consider KMM.