but wouldn’t it be possible to create the base 64 ...
# multiplatform
h
but wouldn’t it be possible to create the base 64 api with kotlin apis only and use that on all the others?
e
It would, if you can use Kotlin-only API to create a library - then you can automatically get it to work on multiple platforms. You need to write platform-specific code only for the pieces that you can’t implement using Kotlin API.
h
but doesn’t anything that is expect in common have to be created platform specific as well, so what’s the advantage
i just find it a bit confusing imo
e
advantage is that a lot of your code will end up in common
h
if you don’t mind, would it be possible to give me an example. i still don’t 100% understand
this is an app that shares code between backend, Android and iOS, and has platform-specific implementations for certain parts
but lots of it is just common Kotlin code
h
ohhhhhhhhhhhh
i understand
now i undrstand how it works
e
👍