It seems Moko focuses on making CommonMain resources available to the Android and iOS platform specific code, by merging them into the platform-specific localization systems.
I am just interested in using resources in CommonMain. I was wondering if KMP had by default for CommonMain a similar
res
mechanism of the Android framework. But I guess I am asking too much.
d
darkmoon_uk
03/10/2021, 11:31 PM
We achieved this in CommonMain by doing some platform component injection into the common space during App Startup.
...never the prettiest approach, but it works.