I'm looking at the sample and I noticed that the `...
# kotlin-inject
s
I'm looking at the sample and I noticed that the
@Component
for the Apple side of things is in
shared/iosMain
, but for Android it's in
androidApp
. In fact I tried to have my
@Component
in
shared/androidMain
and ran into some issues. Is the sample doing it differently for each platform because of some limitation, or to show multiple ways of doing it?
f
you mean this sample? no special reason and it could be moved around, I think currently it depends on
PlatformComponent
which depends on
BuildConfig
which isn't accessible from the
shared
module, though