Hey, I have a problem in a multi module multiplatform app.
I try to init koin in an ios app. If I pass 0 arg everything is ok. If I pass the module of the kmm lib named shared it's ok. But if I pass the module (same type (org.koin.dsl.module) to the function it says : cannot convert anotherkmmmodule.class to expected argument type sharedkmmmodule.class . Any idea how to solve this?
i
itnoles
03/28/2023, 1:39 AM
make new kotlin functions to put them without parameters
l
Louis
03/28/2023, 6:00 AM
Thank you 🙏, indeed it will work in my case because anothermodule has shared on dependencies. But what if all my Kmm modules are completely independent. How can I do this (init multiple koin modules)?