I just used IntelliJ to create a Kotlin (Mobile Android/iOS) project.
The outcome of using IntelliJ is a coupled shared project and Android app
The Android UI code lives in some main folder
I’m wondering why IDEA doesn’t do this on a more modular level. So something like this:
- Separate Android Module
- Separate Shared Module
So basically the android module uses the shared one and the shared one is also compiled into the framework for iOS.
Has anyone successfully structured their project like this with correct test configurations as wel?