-
-
Notifications
You must be signed in to change notification settings - Fork 729
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Koin context has not been initialized in rememberKoinApplication #2127
Comments
@arnaudgiuliani |
it won't start if you don't run global context. Do you run an SDK here? |
@arnaudgiuliani Within the composable function, internally I want to use DI with koin as it has its own VM, repository etc. |
you need to use |
Understood One last question |
@arnaudgiuliani
And then inside the composable function
|
You need to assemble that with the |
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
App should not crash
Koin module and version:
koin-annotations-bom = "1.4.0"
koin-bom = "4.0.2"
Snippet or Sample project to help reproduce
Add a snippet or even a small sample project to help reproduce your case.
The text was updated successfully, but these errors were encountered: