adrielcafe / voyager

🛸 A pragmatic navigation library for Jetpack Compose
https://voyager.adriel.cafe
MIT License
2.58k stars 136 forks source link

Not working with latest version of compose multiplatform and kotlin #486

Open kotlin-compose-multiplatform opened 1 month ago

kotlin-compose-multiplatform commented 1 month ago

TabNavigator theme color schema switch not working. Then I switch to jetbrains experimental navigation library, It works fine when I switch theme light and dark mode. But jetbrains library not save and restore state on iOS. So I want switch back voyager, but voyager theme switch not working, please help me My project is production project, so I need help immediately:

this my repo: https://github.com/shageldi-dev/balary-v2-mobile

version catalog: https://github.com/shageldi-dev/balary-v2-mobile/blob/main/gradle/libs.versions.toml

my tab navigator code current: https://github.com/shageldi-dev/balary-v2-mobile/blob/main/composeApp/src/commonMain/kotlin/tm/com/balary/router/AppTab.kt

kotlin-compose-multiplatform commented 1 month ago

Please upgrade kotlin and compose multiplatform versions, all libraries switching to latest version

hristogochev commented 3 weeks ago

This is an issue with Compose Multiplatform.

I've opened a workaround PR for Voyager.

kotlin-compose-multiplatform commented 2 weeks ago

any news in this issue?

hristogochev commented 2 weeks ago

Google are working on it, you can track the progress here.

kotlin-compose-multiplatform commented 2 weeks ago

ok thanks

kotlin-compose-multiplatform commented 6 days ago

Google fixed: https://issuetracker.google.com/issues/374263387