https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
s

Sergio Casero

10/23/2018, 8:40 PM
Hello guys! Here you can find another mpp project🙂 https://github.com/sergiocasero/votlin-app We use ktor for backend, react, android and ios for clients. It's more or less like kotlinconf app (the app is for voting talks for other event, here in Spain 🙂 ), but we use MVP (sharing presenters) and we're also sharing the Remote Data Source (currently serializing with serializationx because ktor-client-json feature is not available for all platforms yet). Thanks to @marcinmoskala and @wiyarmir repos, they are really really helpfull! The project is still WIP, suggestions, PRs and (why not) ragging are welcome!
👍 8
👏 6
K 6
t

tylerwilson

10/24/2018, 2:43 AM
Very nice. Thank you for sharing. The more samples we have available, the better. And sorry to nitpick, but is ‘kotlin-platform-native’ considered part of the the multiplatform plugin? I only ask because my understanding is that multiplatform is the ‘way forward’, and I am still unsure how it can generate a hybrid framework - like it appears the platform-native is doing in your project.
s

Sergio Casero

10/24/2018, 6:20 AM
In our case, the kotlin-platform-native plugin generates a "framework" or "library", and you can access to this library from the native targets
I suppose that when native goes to stable, the easiest way to do mpp will be doing everything in native
d

deviant

10/24/2018, 7:27 AM
i'm pretty noob in multiplatform. i see that all ios stuff is on swift. do you plan to rewrite it in kotlin or this is impossible right now?
s

Sergio Casero

10/24/2018, 8:49 AM
Is possible, but with a Workaround...