https://kotlinlang.org logo
k

kpgalligan

07/15/2019, 10:02 PM
Working on client leads. Have some questions for the folks out there using KMP in production (for native mobile)
Who is using it in production? Would like to have a good list going.
How much size impact impact does a native app have vs something equivalent written in Swift? This would be for a library included in other apps, so that question gets much more important.
Is there any unexpected impact on the Android size WRT size? I assume not, but figured I’d ask.
n

Nikolai

07/16/2019, 12:30 AM
Hi, we have two projects using KMP in production. Did I understand it right you asking about size of app.framework for iOS part?
k

kpgalligan

07/16/2019, 12:31 AM
Yes, sort of. It’s a tough question. What I really want to know is how big the binary is vs what you might expect if written in Objective-C or Swift, but the actual framework size is also useful info.
n

Nikolai

07/16/2019, 12:36 AM
Sorry, maybe I can't really help here because we never thought about "size of the app if we write it in native way". In our both projects we use common module for client-server communication (using .ktor) and implementing interactor + repositories logic. Size of the libs : 9.2 and 8.7 MB.
k

kpgalligan

07/16/2019, 2:37 AM
I never thought about it much either. Native size is pretty reasonable in my experience. Thanks for the info!
j

Jonas Bark

07/16/2019, 5:47 AM
using it in Production on an app for a bigger customer as well: Framework size is approx 50 MB (includes all three iOS architectures) I'd have to check how much the actual download size differs
k

kpgalligan

07/16/2019, 3:35 PM
Yeah, download size is really what I want to know, but that stuff can be hard to separate out.
2 Views