is koin supported in multi-module on multiplatform ?
I cannot get it to work at all on ios , if it's supported is there an example i can follow ?
the problem basically on ios koin application is only started on the module started it, cannot use get() or inject() from other modules because i always get koin application has not started
j
Jeff Lockhart
08/24/2023, 4:23 PM
How are you adding your modules to your iOS app? Do you have one umbrella module your iOS app depends on that depends on all the others? Or is your iOS app depending on multiple modules?
a
Ahmed Elkhodery
08/24/2023, 4:25 PM
yes that umberlla module, it's a seperate module for depency injection that depends on the other modules of the project and is working as the last layer just before ios app
Ahmed Elkhodery
08/24/2023, 4:27 PM
eventually i aim for my ios app depends on multiple modules, but right now i'm trying to get anything working as the project is still small
a
arnaud.giuliani
08/29/2023, 12:20 PM
you need to have a "entry point" in a KMP module to help you start your common modules