Hi All, I am pretty new to KMP and want to build a...
# multiplatform
a
Hi All, I am pretty new to KMP and want to build a common library for Android, iOS and Web. I tried following the docs available here https://kotlinlang.org/docs/multiplatform-mobile-create-first-app.html#run-your-application-on-android but seems to lost. Can anyone help me pointing to a simpler version of doc with examples to try out.
a
With this wizard you can select what libraries you need for your project, what platforms are you going to use: https://terrakok.github.io/Compose-Multiplatform-Wizard/
after that just download and compile the project with your prefered IDE
a
I need to build a library without any UI for just sharing the business logic. If i am not wrong compose multi platform is for UI sharing.
✔️ 1
My understanding is that i can generate a library using KMP for Android, iOS and Web and can consume the generated library in the respective platform app thereby enabling the business logic sharing.
✔️ 1
a
You're correct
a
I am looking for documentation around creating library in KMP that can be used on the above mentioned platforms.
a
it looks like you have the same idea as 2 messages above
a
Let me check this. Thanks @Alejandro Rios
s
@Akshay Agrawal For JS output, I wrote a piece to describe different ways you can output and use JS library https://dev.to/touchlab/different-ways-to-distribute-and-integrate-kotlinjs-library-1hg3