hi everyone, I got into compose first which got me...
# multiplatform
k
hi everyone, I got into compose first which got me into multi platform and the whole idea just blew up my mind. possibilities that it opens for me are just amazing. I’m still figuring about basic setup and all so i just have some question - 1. Is there a way i can make a project which have all three components ios , android, and desktop maybe there is an option in project selection and i’m missing it. 2. secondly is there a way to get pre configured templates in multiplatform just like spring boot provide just wondering
a
1. Something like this? 2. No idea
x
1. well, there's 4 main targets
android
,
native
,
jvm
, and
js
(as documented here) a.
native
targets are further categorised into 3 support tiers (as documented here) as i.
linuxX64
,
macosX64
,
macosArm64
,
iosSimulatorArm64
,
iosX64
ii.
linuxArm64
,
watchosSimulatorArm64
,
watchosX64
,
watchosArm32
,
watchosArm64
,
tvosSimulatorArm64
,
tvosX64
,
tvosArm64
and
iosArm64
iii.
androidNativeArm32
,
androidNativeArm64
,
androidNativeX86
,
androidNativeX64
,
mingwX64
and
watchosDeviceArm64
b. The iOS targets does have a convenience
ios
group that you can use, but this excludes the simulator 2. I dont think this would ever exist, mainly because there's no one combination of targets that works for all the projects
👍 1
k
but isn’t that exactly what @Alejandro Rios’s mentioned link is doing it provides us with a wizard to create a pre generated template file that can then be use further to setup a project easily
a
The wizard is more focused in Compose Multiplatform and is pointed to "main systems" you could setup the basics but if you need something more specific you'll need to define that manually (for now)
For IntelliJ I'm seeing this option, but don't know which platforms will point up,
Single Platform
let's you select between Desktop and Web
x
sorry my bad - my brain just read over "compose" bit, perhaps this is a better question in #compose channel - but yeah compose-multiplatform is currently only supported on
android
,
jvm
,
ios
and
js
k
for now its desktop and android, maybe some custom implementation would run a ios implementation for now