-
-
Notifications
You must be signed in to change notification settings - Fork 721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SavedStateHandle cannot be created in iOS #2053
Comments
@corneloaie in my case ios it works too. libs version is same
|
For me is always the same error in iOS
|
ok, need to check with more recent library update. Google just ported SSH in KMP part. |
@arnaudgiuliani I know the root cause of the issue. Initial Implementation:
Quickfix Implementation:
|
This is what I get in my iOS app. On Android it works.
`Uncaught Kotlin exception: org.koin.core.error.InstanceCreationException: Could not create instance for '[Factory: 'app.presentation.AppViewModel']'
Caused by: kotlin.IllegalArgumentException: CreationExtras must have a value by
SAVED_STATE_REGISTRY_OWNER_KEY
Koin module and version:
Koin version : 4.0.0 (Latest)
compose.plugin: 1.7.1
[lifecycle-viewmodel](org.jetbrains.androidx.lifecycle:lifecycle-viewmodel-compose): 2.8.4
[navigation](org.jetbrains.androidx.navigation:navigation-compose): 2.8.0-alpha10
Snippet or Sample project to help reproduce
in commonMain
The text was updated successfully, but these errors were encountered: