JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
16.36k stars 1.18k forks source link

Template compose-multiplatform-ios-android-template #2880

Closed igordmn closed 1 year ago

igordmn commented 1 year ago

Similar to https://github.com/JetBrains/compose-multiplatform/issues/2823

We need a template that supports only iOS and Android, because removing the other targets isn't easy right now, but they may not be needed.

katia-energizer commented 1 year ago

We don't want to use mobile in naming. It may associate just with Android. Let's use compose-multiplatform-ios-android-template to avoid confusion as discussed with @SebastianAigner in Slack.

pjBooms commented 1 year ago

Here it is: https://github.com/JetBrains/compose-multiplatform-ios-android-template Couple of things to be done:

  1. Remove issues
  2. Add About
igordmn commented 1 year ago

Couple of things to be done:

Done

igordmn commented 1 year ago

@katia-energizer, should we change the title to Compose Multiplatform iOS+Android Application?

image

subchannel13 commented 1 year ago

How to use this template?

I have Koplin Multiplatform Mobile and Compose Multiplatform IDE Support plugins installed for Android Studio. When I pick Kotlin Multiplatform App template I get project structure that is on the first look similar to compose-multiplatform-ios-android-template but is actually implemented in not multiplatform friendly way. Shared module has no UI components (no App). Instead each platform has it's own Greeting and theme implementation. I can't find any information how to add a template to AS (so I assumed it's shipped with a plugin) and there is no info about it in readme files nor on wiki...

pjBooms commented 1 year ago

How to use this template?

subchannel13 commented 1 year ago

Yes?

okushnikov commented 3 months ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.