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

Ferran

11/11/2020, 9:53 AM
For creating a multiplatform project we have to create a kotlin multiplatform module in our project. Is there a way to create submodules inside the multiplatform module so that we can apply clean architecture separation within the module, for example having a module for repositories/data and another submodule for usecases
t

Tomasz Krakowiak

11/11/2020, 10:00 AM
You can have MPP module depending on other MPP module, so your approach should probably work as well.
f

Ferran

11/11/2020, 10:00 AM
👍 that’s a good idea
a

andylamax

11/11/2020, 12:52 PM
Just clarifying, this is what we do at our company
m

Matthew Rees

11/11/2020, 1:31 PM
@andylamax are you using cocoapods to deploy iOS library?
f

Ferran

11/11/2020, 2:29 PM
@andylamax out of curiosity, did you manage to get StateFlow<> to work from iOS using Kotlin 1.4.x?
a

andylamax

11/11/2020, 3:40 PM
Our company hasn't targeted the iOS platform at all. We only target, android, jvm, and js at the moment. We are looking to expand to iOS sometime late 2021
👍 1
f

Ferran

11/11/2020, 3:56 PM
👍
2 Views