I’m working on a Kotlin Multiplatform (KMP) project and want to explore whether it’s possible to configure on-demand feature delivery, similar to Android’s Play Feature Delivery or Play Asset Delivery.
The idea is that we have a super app consisting of multiple modules say four independent apps/features and I want to separate each one so that when the user selects a specific app, it’s downloaded on demand and then opened directly within the same super app.
I’d like to know:
-
Can a KMP project support dynamic feature modules that are downloaded and installed at runtime?
-
How can I structure the Gradle setup so that shared KMP code is still accessible to these dynamically delivered modules?
-
Is there any equivalent solution or best practice for iOS to achieve similar on-demand loading behavior?
Any guidance, architectural advice, or example implementations would be highly appreciated.