Hello everyone, currently running into a weird iss...
# koin
w
Hello everyone, currently running into a weird issue with Koin in a Compose multiplatform project. I have my DI set up with Koin using
KoinMultiplatformApplication
and I’m running into a
ClosedScopeException
when rotating the screen. A bit of googling later leads me to this GitHub issue https://github.com/InsertKoinIO/koin/issues/1773 but the suggested solution of using
KoinContext
doesn’t appear to be a valid solution anymore as the function has been deprecated in 4.1.0 (which I am using). Does anyone know if there is a new API to use in 4.1.0 to fix this issue? Thanks in advance!
1
a
did you update with 4.1.1?
w
I have not, I can try later today and report back
alright, updating to 4.1.1 seems to fix it for now, thank you very much @arnaud.giuliani!
i guess, despite not seeing anything in the changelog, i should’ve tried to update anyways 🤣
a
AI generated change log ... perhaps too much 😛