I am migrating this project of mine to KMM. Both iOS and Android runs the basic Greeting function, but the real challenge starts when trying to access feature modules classes like ViewModel in shared module source set.
Having this structure, I want to wrap it using shared module.
I tried to moved the feature modules from androidApp module to shared module
I am reading this documentation where it says it’s possible to do this (if my understanding is correct) with the umbrella module which I assumed is by using the shared module.
I cannot proceed due to the following problems:
- Koin core is not accessible in common and ios source set of shared module.
- ViewModels is not accessible in common, android, ios source set of shared module.
It seems nothing from the commonMain dependencies block is accessible in those source set.