Hey I have existing Android and iOS project. I wan...
# multiplatform
v
Hey I have existing Android and iOS project. I want to create a separate Kotlin Multiplatform module i.e. put kmm module in separate repository and consume in both platform. 1. My question is can we put module in different repository? Is it good idea to do that? 2. If yes, can we share any guide how can we consume in both platfrom. If no, can you please explain me in details. Thanks
k
Yes, you can. Just publish your shared module as kotlin library to your maven repo
Is that good idea or not? It depends. If you often change your shared code it will be easier to have all in one repo
v
yes I am trying to change my existing code in kmm module, but slowly