You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
App crashes when using koin version 4.0.1
The crash is not present while using 4.0.1-Beta1
error: Uncaught Kotlin exception: kotlin.IllegalStateException: Koin context has not been initialized in rememberKoinApplication
To Reproduce
Steps to reproduce the behavior:
When using the koin version 4.0.1,
Install the application on a real iOS device.
Launch the application and kill it from the recents
The app will crash with logs provided below.
Expected behavior
The app should not crash, and should exit normally.
The same crash does not happen for previous beta version 4.0.1-Beta1
Describe the bug
App crashes when using koin version
4.0.1
The crash is not present while using
4.0.1-Beta1
error:
Uncaught Kotlin exception: kotlin.IllegalStateException: Koin context has not been initialized in rememberKoinApplication
To Reproduce
Steps to reproduce the behavior:
4.0.1
,Expected behavior
The app should not crash, and should exit normally.
The same crash does not happen for previous beta version
4.0.1-Beta1
Koin module and version:
koin = "4.0.1"
koin-android = {module = "io.insert-koin:koin-android", version.ref = "koin"}
koin-compose-viewmodel = {module = "io.insert-koin:koin-compose-viewmodel", version.ref = "koin"}
koin-compose-viewmodel-nav = {module = "io.insert-koin:koin-compose-viewmodel-navigation", version.ref = "koin"}
Snippet or Sample project to help reproduce
Repo - https://github.com/InsertKoinIO/koin-getting-started/tree/main/ComposeMultiplatform
Branch -
bump-koin-4.0.1
(has a crash as shown below in logs)When using version
4.0.1-Beta1
, there is no crash when killing the app on a real iPhone.Logs
The text was updated successfully, but these errors were encountered: