-
-
Notifications
You must be signed in to change notification settings - Fork 719
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
Koin crash randomly on minified app while trying to create a SavedStateHandle #1625
Comments
+1 |
+1 |
we need a way to reproduce this case 🤔 |
any better with 3.4.3 update? I know that 3.4.2 had maven metadata issues ... not sure it's any related |
It works for me on 3.4.3 🎉 |
We're still seeing this with 3.4.3 (and koin compose 3.4.6), but subjectively it seems less frequent than with 3.4.0 (and koin compose 3.4.3). For us, it also happens randomly during development. We tried to isolate the issue, but weren't able to reliably reproduce. |
how complex is the arguments passed in the SSH? |
We never pass complex arguments to SSH, the most complex SSH contains one |
Ok, nothing strong. There can be a side effect, observed at #1561 |
Maybe I'm missing something, but shouldn't @Composable
fun SomeScreen(viewModel: SomeViewModel = getViewModel()) {
//
} |
yes, it should be kept on the main thread. If you can in a way have a sample to reproduce, I will be happy to investigate 👍 |
let's see with koin-android 3.5.0 and parameter race condition fix how it goes :+ |
Describe the bug
Koin crash randomly on minified app while trying to create a SavedStateHandle then inject it into a viewmodel
and the class looks like this :
we're using the constructor syntax in our koin module definition
It's not reproductible easily, we did not succeed to have this while testing on our devices
Koin project used and used version (please complete the following information):
koin-core version 3.4.2
koin-android version 3.4.2
The text was updated successfully, but these errors were encountered: