https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
m

Mustafa Ozhan

12/24/2020, 4:00 PM
Second one, • is there any example of having images(.png) and vector drawables (.xml) in
common
and sharing across platforms ?
a

alex009

12/25/2020, 1:33 AM
m

Mustafa Ozhan

12/25/2020, 4:51 PM
Great thanks a lot! I was not aware this! 🙂 Maybe xml support will come in future too 🙂 I will check this lib and probably create an issue for that too 🙂
@alex009 what to do if we have JS target also ? I can see that moko resources doesn’t support JS target, but I think it should be a way to get rid of build errors
a

alex009

12/27/2020, 1:37 PM
you should separate common-mobile logic from common-all logic. like here https://github.com/icerockdev/moko-resources/issues/133#issuecomment-741430063
m

Mustafa Ozhan

12/27/2020, 2:33 PM
Ohh it looks great thank you for sharing this 🙂
Hello @alex009 i just leaved a comment in mentioned issue, something is going wrong about configuration maybe it is worth to check it ?
a

alex009

12/28/2020, 8:05 AM
i will check it on this week, now busy
m

Mustafa Ozhan

12/28/2020, 8:44 AM
Sure thank you 🙂
2 Views