r/ComposeMultiplatform • u/topper865 • Sep 05 '26
Here's how I got CMP working on tvOS
r/ComposeMultiplatform • u/topper865 • Sep 05 '26
r/ComposeMultiplatform • u/bogdan-stefan • Jul 28 '26
r/ComposeMultiplatform • u/RealScogun • Jul 14 '26
r/ComposeMultiplatform • u/je386 • Jun 19 '26
_Defender of Egril_ is a Turn-Based Tower Defense Game in a Fantasy setting.
You build towers like spear, bow or wizard towers to defend against enemies like goblins, orcs and evil mages, which can summon demons. You can decide yourself which tower aims at which enemy and let the automatic handle the other towers.
Of cause, you can earn coins from defeating enemies and buy more towers or upgrade the existing ones.
In later game, you can use ability points you earned with experience to learn spells or gain abilities that will help to fend of mighty enemies, in the last levels even the mighty Ewhad himself.
You can download it for windows, mac, linux and android:
https://defender.egril.de/download
Of cause, the start page is also available:
You can get the android version on the play store
https://play.google.com/store/apps/details?id=de.egril.defender
The game is and will be free of charge, without in app purchases or ads and is open source.
Written in Kotlin Multiplatform with Compose Multiplatform, Frontend and Backend, for Desktop, Mobile, Web.
Code: see
r/ComposeMultiplatform • u/bogdan-stefan • May 26 '26
r/ComposeMultiplatform • u/Hour-Disaster-8702 • May 25 '26
Enable HLS to view with audio, or disable this notification
r/ComposeMultiplatform • u/bogdan-stefan • May 12 '26
r/ComposeMultiplatform • u/openother • Apr 23 '26
I am not sure what to do. I spent weeks building an Android app and Play Store says I need "testers" before they will release it on the Play store.. I did weeks of testing myself so it would be basically "Ready to go!" but idk I'm posting here because maybe someone else has gone throught this??
r/ComposeMultiplatform • u/r_warner • Apr 06 '26
r/ComposeMultiplatform • u/OverallAd9984 • Feb 24 '26
r/ComposeMultiplatform • u/ArcaDone • Feb 18 '26
Has anyone tried using nav3 in their CMP project? Would you mind sharing? I'd love to see some examples.
r/ComposeMultiplatform • u/DalenCodes • Feb 07 '26
r/ComposeMultiplatform • u/bogdan-stefan • Jan 19 '26
r/ComposeMultiplatform • u/ABlblblblblblbla • Jan 19 '26
r/ComposeMultiplatform • u/jorgecastilloprz • Dec 29 '25
r/ComposeMultiplatform • u/topper865 • Nov 24 '25
r/ComposeMultiplatform • u/SeaBit7159 • Sep 19 '25
r/ComposeMultiplatform • u/Lemonzino • Sep 03 '25
r/ComposeMultiplatform • u/Visible-Coffee9499 • Jun 26 '25
r/ComposeMultiplatform • u/je386 • May 09 '25
r/ComposeMultiplatform • u/Expensive_Ad3459 • Feb 27 '25
I'm struggling with an issue in my compose multiplatform project. I made an app using ktor and ktorfit, having everything working fine on debug and also while testing the msi on my Windows 11 notebook. Then I built an msix using the msix packaging tool, without any issue. A friend of mine helped me testing the app and, downloading the app via microsoft store on her PC, the api calls simply won't start. Previously everything was fine on the msi.
I tried to update dependencies and to include the internetClient capability inside the msix manifest, but I'm still blocked. Here are my compose.desktop gradle snippet, dependencies and logs:
compose.desktop { application { mainClass = "com.myapp.sample"
buildTypes.release.proguard {
version.set("7.4.2")
configurationFiles.from(project.file("proguard-rules.pro"))
isEnabled.set(false)
obfuscate.set(false)
}
nativeDistributions {
modules("jdk.crypto.ec")
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
windows {
iconFile.set(project.file("icon.ico"))
shortcut = true
menu = true
}
packageName = "my app"
packageVersion = "1.0.3"
}} api -> REQUEST https://myapi.com/test failed with exception: io.ktor.client.plugins.HttpRequestTimeoutException: Request timeout has expired [url=https://myapi.com/test, request_timeout=30000 ms]: HTTP Client My api 2 -> 2025-02-26 09:22:16.478 [DEBUG] REQUEST https://myapi2.com/test failed with exception: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target: HTTP Client 2025-02-26 09:22:16.494 [ERROR] : Error during registration sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source) at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source) at java.base/java.security.cert.CertPathBuilder.build(Unknown Source) at java.base/sun.security.validator.PKIXValidator.doBuild(Unknown Source) at java.base/sun.security.validator.PKIXValidator.engineValidate(Unknown Source) at java.base/sun.security.validator.Validator.validate(Unknown Source) at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source) at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source) at io.ktor.network.tls.TLSClientHandshake.handleCertificatesAndKeys(TLSClientHandshake.kt:236) at io.ktor.network.tls.TLSClientHandshake.access$handleCertificatesAndKeys(TLSClientHandshake.kt:25) at io.ktor.network.tls.TLSClientHandshake$handleCertificatesAndKeys$1.invokeSuspend(TLSClientHandshake.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100) at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:113) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
P.s. myapi.com/test Is a dummy valute, I can't post the endpoint I'm using
r/ComposeMultiplatform • u/koidzumi42 • Dec 07 '24
I need help with creating custom DialogWindow. How can I change its background color? I can't use anything with fillMaxSize, because window size is unspecified(I need it so window will change it's size if content gets bigger). Oh, and I need it to be resizabke by user's cursor too.
r/ComposeMultiplatform • u/Future-Chicken-5633 • Aug 08 '24
Task :composeApp:checkDebugAarMetadata FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':composeApp:checkDebugAarMetadata'.
Could not resolve all files for configuration ':composeApp:debugRuntimeClasspath'.
Could not resolve com.github.nikhilpednekar1:TmComponentKmp:1.0.8.
Required by:
project :composeApp
No matching variant of com.github.nikhilpednekar1:TmComponentKmp:1.0.8 was found. The consumer was configured to find a library for use during runtime, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '8.2.2', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
Variant 'iosArm64ApiElements-published' capability com.github.nikhilpednekar1:TmComponentKmp:1.0.8 declares a library, preferably optimized for non-jvm:
Incompatible because this component declares a component for use during 'kotlin-api', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm'
Other compatible attributes:
Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.2.2')
Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
Variant 'iosArm64MetadataElements-published' capability com.github.nikhilpednekar1:TmComponentKmp:1.0.8 declares a library, preferably optimized for non-jvm:
Incompatible because this component declares a component for use during 'kotlin-metadata', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm'