Deciding on a mono repository or a shared library
- Mono Repository: This is where the shared code is just a module/submodule. This is the choice of most KMM/KMP example projects.
- Multiple Repositories: This is where the shared code is like a library that's consumed by the different platforms; that is, Android and iOS. Most production apps will likely see this option as more attractive.
Let's start by looking at mono repositories.
Some of the KMP examples out there, such as the ones where code is shared not just between the different frontend applications but in a server-client/backend-frontend mode, could inspire...