For engineers at Careem,
multiplatform was just a dream,
Kotlin multiplatform made it true,
and it can work for you too!
We share on Android and iOS,
our code is clean and not a mess,
business logic is what we share,
while showing our iOS devs that we care.
Most of our code lives in commonMain,
to keep our dependencies nice and sane,
dependencies implemented on the platform side,
we use Dagger on Android with nothing to hide,
on Swift we roll our own DI,
I speak the truth and do not lie.
We build libraries and version them too,
updating a changelog with whatever is new,
push them to a maven repo to use,
and add a tag with nothing to lose.
klibs are uploaded for iOS,
jars on Android without a mess,
the clients use them as you'd expect,
and best of all, bugs that we detect -
can be fixed on both platforms with ease,
saving us half the development fees.
With multiplatform coroutines coming soon,
the limits are really beyond the moon,
so if you haven't considered sharing code,
it's a good time to get into this thought mode,
that is all i have to say,
i hope you enjoyed this talk today.