Hey, just reporting, on iOS + navigate back via sw...
# decompose
r
Hey, just reporting, on iOS + navigate back via swipe: Decompose
3.3.0
+ CMP
1.7.3
worked fine upgrading to CMP
1.8.0
started crashing whenever back swipe was performed (something in a coroutine crashed, but crashlog is hard to decipher; normal back button i.e. pop from stack worked fine) then keeping CMP
1.8.0
but upgrading Decompose to
3.4.0-alpha01
fixed it again
a
Yep, Decompose 3.4.0-alpha01 is required with CMP 1.8.0. It shouldn't actually compile otherwise, unless you have caches disabled in Gradle properties file.
Thanks for reporting!
r
Got it thanks, yeah I don't think I have caching disabled though, it built fine:
Copy code
kotlin.code.style=official

#Gradle
org.gradle.jvmargs=-Xmx16G -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options\="-Xmx16G"
kotlin.daemon.jvmargs=-Xmx16G

#Android
android.nonTransitiveRClass=true
android.useAndroidX=true
android.defaults.buildfeatures.buildconfig=true

#Kotlin Multiplatform
kotlin.mpp.enableCInteropCommonization=true

#Ktor
io.ktor.development=true

# Workaround for a CMP issue on iOS: <https://github.com/JetBrains/compose-multiplatform/issues/4809#issuecomment-2169302897>
kotlin.native.cacheKind=none
compose.kotlin.native.manageCacheKind=false
a
So you do have the "Workaround for a CMP issue on iOS"
r
Ah right that may be it 🙂 will remove this soon, thanks!
a
Yeah, once you update all deps and it compiles, better to remove.
👍 1