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

Fyodor Danilov

10/29/2023, 3:18 PM
Hi! I have a question about my project architecture. I want to create the following structure (in image).
common-main
will have shared UI components, shared models and shared Ktor client.
common-sender
is a multi platform app that has
ios
and
android
realizations.
common-receiver
is a multi platform app that has
ios
,
android
and
jvm
realizations. Preferably I want to create shared resources in
common-main
using Moko Resources that will be shared to
common-receiver
and
common-sender
. Also
common-receiver
and
common-sender
should have their own resources that will not be shared between each other. Is Kotlin Multiplatform a good choice here? How can I make this architecture?