Am I correct in understanding from the docs that c...
# multiplatform
r
Am I correct in understanding from the docs that compose resources (introduced in 1.6.0) cannot be used outside commonMain code? i.e. common resources can't be used in platform-specific code? My scenario: I have a shared module using compose resources. The
Res
class is generated as internal, and therefore I can't use it from my platform-specific module.
h
Unfortunately at this moment it's impossible to use them outside, except for creating a class that references them and exposes a public API of the internal Res class But I'm hopeful that they'll change that soon
👀 1
r
Thanks for clarifying. Unfortunately, this limitation makes resources kind of useless for cross-platform development.
Do you know if this is being tracked as a task anywhere?