My Honest Opinion About Kotlin Multiplatform Mobile (KMM)

My Honest Opinion About Kotlin Multiplatform Mobile (KMM)

Philipp Lackner

2 года назад

48,672 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

My Coding Path
My Coding Path - 08.05.2023 21:02

Now compose support iOS ui.

Ответить
Martin Majewski
Martin Majewski - 19.01.2023 15:35

Started to discover KMM now (January 2023) and was not expecting any of the mentioned "starting a project" issues. Started a project, rejected Cocoapods (the biggest issue is its existence - Swift Package Manager, wtf!), and ran the project. The only thing that needs to be done is to have XCode open to signing the project. Runs!

Ответить
Luebke LP
Luebke LP - 07.01.2023 13:35

I don't see the "native ui on each platform" as a benefit. If you design a app you normally design it once. You put all the effort in one design which maybe fits your corporate design. Minor differences in usage (buttons vs gestures...) can be achieved with flutter easily. In Flutter business logic and ui are written once. Also in many cases the business logic will be implemented in some web service and not in the app.

Ответить
Anudeep Ananth
Anudeep Ananth - 19.12.2022 15:20

KMM seems to have made a lot of improvements in such a short time since you just released the KMM course today

Ответить
FR
FR - 01.11.2022 09:39

This video Perfectly describes my experience so far

Ответить
Bhanuka Isuru
Bhanuka Isuru - 01.11.2022 07:50

New Technology is killing developers.

Do you agree with me?

Some Points:
- 2 person job can do by 1 (In Flutter: 7 person job can do by 1 - Android, ios, web, windows,macos, linux, embedded)
- Simplified development killing developer's thinking knowledge
- .....

Ответить
Matthew Murray
Matthew Murray - 25.10.2022 00:20

For building apps, I agree. However for building distributed frameworks, it's a absolute game changer for all the obvious reasons. I admit it helps if you have previous iOS experience and know how to wrangle with XCode. I would avoid Kotlin's cocoapod temple and instead use their 'embedAndSignAppleFrameworkForXcode' gradle task from an build phase run script, which will do all the work of embedding your module in the application.

Ответить
David
David - 12.10.2022 13:14

In my opinion, web is the future if it standardize api for native features. Web already cross platform, why we need so many technologies. :)

Ответить
Kingkor Roy Tirtho
Kingkor Roy Tirtho - 06.10.2022 22:10

react native is better in that manner

Ответить
Med Amine
Med Amine - 29.08.2022 02:10

one thing i understand in all coding frameworks is that nothing is perfect at all, no mater what you choose to work with you will always hit the wall one day.

Ответить
MusicMakers
MusicMakers - 07.08.2022 07:10

Beta already there. Anyone tried? Any updated comments? 🤔

Ответить
truedwell
truedwell - 16.07.2022 16:21

Same experience with me. I will wait kmm improvements.

Ответить
ALKIN ÇAKIRALAR
ALKIN ÇAKIRALAR - 14.07.2022 01:20

In my company our app works with graphql and there are a lot of same code because of apollo. So we started to use kmm we want to manage all graphql queries, mutations and fragments from one place. I watched your tutorials which is weather and cryptocurrency app and now i’m try to build your mvvm hilt structure in my kmm project with koin, kodein and moko mvvm libraries. I couldn’t do it yet but i hope i will do it. In my dream after whole kmm app finished ios and android developers just coding the ui and use viewmodels which comes from kmm app. What do you think about it, do you think i’m on the right way ?

And by the way we are using this library as a spm library on ios side and we didn’t get any problems yet.

Ответить
Hinrich Wrage
Hinrich Wrage - 13.07.2022 10:35

Negative feedback is SO valuable these days. Seems Xamarin is way ahead :)

Ответить
Vamsi
Vamsi - 28.06.2022 15:14

Waiting for your tutorials in KMM

Ответить
IPrototypeI
IPrototypeI - 19.06.2022 20:48

To be honest I would not use KMM for Mobile Crossplattform Development, because you can't safe any time in comparision to use for example Flutter, Ionic ... . But to write Android Apps, Desktop Applications and Web Applications it looks like a real game changer

Ответить
Harminder Singh
Harminder Singh - 19.06.2022 10:05

can KMM be used on windows in Andorid Studio , I am asking because if we have to also write swift code in IOS package required folder and in windows and there we cannot have XCode , so please confirm me can we do KMM on windows or not ..??

and also as you said that it is not like Flutter with single code base we have to write both kotlin and swift code seperately for UI but only logic and some other code is shared among the both so it is true to say that is KMM creates 100% Native App like Andorid with Kotlin and IOS with swift3 if yes then I think KMM is very very better than hybrid tool like react Native , Flutter , Phone Gap, etc ..
please also confirm this ..??

Ответить
Joost Klitsie
Joost Klitsie - 16.06.2022 12:51

I made some (personal) KMP apps with JVM, JS and Android targets. I have to say the sharing of code is a delight but yeah the setup is very bad. Also just having a kmp app with 1 android target (for example: You wish to be prepared for a future sharing of code, but for now at least want to separate platform code from pure kotlin code) breaks in Android studio with the latest release. The Jetbrains team and Google team were severely misaligned (I saw a topic on kotlin slack describing this) and the developer at jetbrains did need to remind the people it is still in alpha, even after this many years. However, he also wrote that they are actually aligning their efforts now and generate actual api's that both jetbrains and android studio can implement as to not have severely broken builds after upgrading your AGP. So for now, I'm scared to use it in an actual production app for any iOS/native targets, even though sharing code between backend and multiple frontend targets is very easy and powerful already, if you can get the setup right... I think the part where you missed out: how do you interact between swift and kotlin? I am not an iOS developer and I do not wish to use a macbook, so to prepare shared code so that iOS devs can use it would also be a topic where one can learn how to better cooperate with the other platform.

Ответить
Shido Becker
Shido Becker - 18.04.2022 21:15

I know how you feel Philipp, I had my own dose of errors using KMM, but I noticed that most of those erros came from the iOS side of the coin. Specially cocoapods, so I ended up not using it, and using swift package as a dependency manager, as well as the shared module embedded, and everything went way more smoothly. But I still find it very hard and confusing to incorporate a new KMM module to a an existing iOS/ Android project. Which my company want to trying migrate to. Other than that, works pretty well.

Ответить
Hürol Inci
Hürol Inci - 15.03.2022 09:50

KMM is a pipe dream.

Ответить
Dream Animations TV
Dream Animations TV - 12.03.2022 20:26

For me it took 1 day to see my hello world text on screen
first fixed ruby version issue... it showed ruby version should be >= 2.5
followed by cocoapods not installed though it installed already
then somehow i got the clue to change from 11 version to 10 and worked.
now because cocoapods version is 10 , I am not able to run iosApp and showing version is below 11
hahaha

Ответить
Skoozle
Skoozle - 25.02.2022 15:11

When the project itself is still in dev mode and you say you’re disappointed. Bruh

Ответить
Richy Rojas
Richy Rojas - 25.02.2022 01:19

Nightmare has been my experience 😂. I would build the complete app by now in Xcode with the time I lost trying to configure KMM.

Ответить
Let me Talk
Let me Talk - 24.02.2022 18:14

No Mac No KMM Sorry Boss 😅😁

Ответить
Sunny
Sunny - 15.02.2022 20:38

It will change, Remember how Android project setup was 6-7 years ago.

Ответить
Alishan Valiani
Alishan Valiani - 15.02.2022 13:42

Hi! Make video about Maps Compose, Please!

Ответить
Sudhanshu Singh
Sudhanshu Singh - 14.02.2022 22:47

It's pain once in a while but let me tell you straight it works! Little nagging issues keep popping bit so far we're doing well on Production, almost 2 years now. A little pain for iOS team and sometimes dependency resolutions but I am happy with it tbh.

Ответить
Thomas P
Thomas P - 14.02.2022 17:56

Stopped using KMM for exactly the same reasons. KMM is truely not production ready. Maybe some day in the future.

Ответить
Amit Goel
Amit Goel - 13.02.2022 17:24

You seem like a junior who couldn't figure things out. In fact, a lot of your videos are very junior level. Code with Mitch a lot better

Ответить
Livio López
Livio López - 13.02.2022 02:30

You are right, at the moment to set up the iOS environment, you might want to throw your computer through the window 😅 LOL

But, I love it, although I prefer the KMP concept instead of KMM, to include web, backend, desktop, and command-line (smartwatch is mobile), this multiplatform makes your life easier when you want to use the Kotlin DSL features in other platforms (not just Android).

Also, It's great at the moment to implement in other platforms the Redux/State Machine architecture using kotlin StateFlow and Coroutines.

Please 🙏 try as soon as possible with KMP; you are the best of the best.
All your videos are helping all your subscribers and not subscribers in the world. 🙌

Ответить
Andy
Andy - 13.02.2022 02:05

Ktor and sqldelight are polished and arguably better than Room and Retrofit, so it already makes sense to build Android with KMM. Skate to where the puck is going.

Ответить
Damian Viltres
Damian Viltres - 13.02.2022 01:57

Hi Philipp Lackner, I would like you make a video, how to impl How to impl LazyVerticalGrid with set full span or dynamic num of GridCells.Fixed in jetpack compose.

Ответить
Bebeuz 0x4C
Bebeuz 0x4C - 12.02.2022 16:46

I'm using it in production, and have been doing so for more than a year. I have the M1 as well. You're right that it's a pain to get it to work but once you do, it just works

Ответить
BABYTHEDUDE
BABYTHEDUDE - 11.02.2022 19:19

ofc it doesn't work..

Ответить
MD Di
MD Di - 11.02.2022 09:40

I think KMM is more dedicated for entreprises which have ios and android developers.
For a developer thats work alone or willing to be effective on both platform, you had better to go to react native/ flutter, you will learn one stack, one IDE.
I hope my company dive into it, however I will never use it for my personal projects

Ответить
Daniel Ávila
Daniel Ávila - 11.02.2022 02:02

KMM is the future, sure

Ответить
Larry Wang
Larry Wang - 10.02.2022 22:07

For me, KMM used to be fragile, like Philipp described. Now, in my Intel Mac, the Xcode integration works seamlessly. Might the issues be related to M1 Macs?

Ответить
Abhay Kaushal
Abhay Kaushal - 10.02.2022 21:17

I spent 2 days building ios and android hello world app

Ответить
Programador de Elite
Programador de Elite - 10.02.2022 19:52

Had the same bad experience i am currently having it. Sooooo annoying. Can't really recommend it now. 😉

Ответить
Abdullah Ejaz
Abdullah Ejaz - 10.02.2022 18:18

I know many companies using it in production.

Ответить
Nakee Panpi
Nakee Panpi - 10.02.2022 17:54

When you make video with work manger and key store ?

Ответить
tutorialsEU
tutorialsEU - 10.02.2022 17:35

Thanks for the info. Now I know I can wait a bit more before making a course about it :)

Ответить
Tsedaclick
Tsedaclick - 10.02.2022 14:36

Thanks a lot, Philipp! I thought I was a loser not making KMM work and having to create two separate apps: one for Android, and one for iPhone.
Even to generate a single Android app, Android Studio is already so hard to use, with the indexing tasks, Gradle problems and so on...
Like you, I am waiting for a new version of KMM

Ответить
Intellicco
Intellicco - 10.02.2022 13:09

Thanks for the high quality content...and The hilarious thumbnail😅

Ответить
Kroken Stiv
Kroken Stiv - 10.02.2022 05:28

Flutter will kill all

Ответить
Giovanni Siciliano
Giovanni Siciliano - 10.02.2022 02:00

is a pain to develop two UI, in intellij are really aware of that and also big Jake.

Ответить
hh
hh - 10.02.2022 01:35

Hi Phillip, posting my comment again as I guess the previous one went into spam as I used a link.

I wanted to purchase your "Building Industry-Level Apps With Multi-Module Architecture" course, but there doesn't seem to be an add to cart option for this course (or at least I can not see it)

If its not available anymore, can you let me know when it will be open again.

All the best.

Ответить
Alon Shlider
Alon Shlider - 10.02.2022 00:54

Will you make native iOS development videos in the future?

Ответить