You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The KMP desktop application crashes when I try to inject SavedStateHandle with navigation arguments to ViewModel. The Android app works fine.
The exception: Caused by: java.lang.IllegalArgumentException: CreationExtras must have a value by SAVED_STATE_REGISTRY_OWNER_KEY
In my composables I initialize the ViewModel using koinNavViewModel().
Describe the bug
The KMP desktop application crashes when I try to inject SavedStateHandle with navigation arguments to ViewModel. The Android app works fine.
The exception: Caused by: java.lang.IllegalArgumentException: CreationExtras must have a value by
SAVED_STATE_REGISTRY_OWNER_KEY
In my composables I initialize the ViewModel using koinNavViewModel().
Am I missing something?
Koin module and version:
koin-android - 4.0.0
koin-androidx-compose - 4.0.0
koin-core - 4.0.0
koin-compose - 4.0.0
koin-compose-viewmodel - 4.0.0
koin-compose-viewmodel-navigation - 4.0.0
org.jetbrains.androidx.navigation:navigation-compose - 2.8.0-alpha10
The text was updated successfully, but these errors were encountered: