I'm having an issue with voyager and koin on confi...
# koin
m
I'm having an issue with voyager and koin on configuration change. When I switch from dark mode to light mode, after navigating to any screen I get this error:
Copy code
org.koin.core.error.ClosedScopeException: Scope '_root_' is closed
It fails getting the voyager StateScreenModel I'm starting and stopping koin correctly and I'not using koin-compose.
s
I have never used voyager but I encountered this error once when we were clearing the scope in
onDestroy()
of the activity instead of the
onScopeClose()
callback - https://insert-koin.io/docs/reference/koin-android/scope/#androidscopecomponent-and-scope-closing-handling are you using the same?