I just got a crash in a Play Store pre-launch repo...
# koin
m
I just got a crash in a Play Store pre-launch report for something which I see mentioned in old Koin issues, but not recently:
Copy code
No definition found for type 'androidx.lifecycle.T'. Check your Modules configuration and add missing type and/or qualifier!
This corresponds to the
SavedStateHandle
class. I couldn’t reproduce this locally, and I get the impression this is a randomly occurring issue. I haven’t changed anything regarding this since my last app update which did not show this error in the reports. I noticed people talked about moving the savedStateHandle to being the first arg. Is that still relevant (I’m using Koin 4.0.0)? Is there anything else I should be looking out for? Note: this happened in my top-level screen composable. Which injects the viewmodel using
koinActivityViewModel()