https://kotlinlang.org logo
j

Jean Carlos

01/07/2021, 1:38 PM
Hello! Someone has an example of a multi-module based KMM? I have seperated the domain and I want to share it embedded into shared module
d

Dragos Rachieru

01/07/2021, 1:43 PM
no native for now(ktor doesn't support websockets)
I have more repositories and modules, but they are private
j

Jean Carlos

01/07/2021, 1:45 PM
❤️
j

Javier

01/07/2021, 1:49 PM
The sample created by the kmm plugin should be valid, you only need to remove androidMain and iosMain and just use commonMain with some domain classes to test it
probably instead of generating android(), you should generate jvm() only which should be valid for Android
j

Jean Carlos

01/07/2021, 1:52 PM
Ok... and what about sharing it in iOS?
j

Javier

01/07/2021, 5:07 PM
jvm + ios
instead of Android + ios
👍 1
d

Dragos Rachieru

01/09/2021, 3:14 PM
you can use ios() for that
11 Views