I'm trying to update to 2.0.0-beta-4 from 0.9.1 (i...
# koin
j
I'm trying to update to 2.0.0-beta-4 from 0.9.1 (i WOULD have followed the migration from 0.9 -> 1.0 guide, but it has been removed from insert-koin.io...)
I've got things building, when I run & try to inject things with
applicationContext()
I get a crash:
Can't resolve Context instance. Please use androidContext() function in your KoinApplication configuration.
I can read the error, but I don't know what it's asking me to do. All the google search results point to pages on insert-koin.io that no longer exist.
Op, I think I figured it out... missed the
androidContext(this@MyApplication)
bit to pass to
startKoin{}
.