Hi, I have a best practice q about KMM & Localization + resource sharing. We can share resources w/this awesome looking API:
https://github.com/icerockdev/moko-resources, but my question is: what do ppl think about doing this? I’ve read that some ppl think it’s best to let Android + iOS handle this in their own way. How scalable is it? I believe in keeping UI’s light, and don’t want to maintain 2 sets of resources, BUT, I also don’t want to run into all sorts of issues back on the front end. my use case is a dynamic onboarding screen like this:
/**
* All of the data elements for an Onboarding screen.
* This data comes from app resources.
*/
data class OnboardingScreen(
val currentScreen: Int,
@DrawableRes val headingIcon: Int,
@StringRes val headingText: Int,
@StringRes val subHeadingText: Int,
@StringRes val cardHeading: Int,
@StringRes val cardSubHeadingOne: Int,
@StringRes val cardSubHeadingTwo: Int,
val cardDetails: CardDetailsOption
)