Vishal kumar singhvi
02/26/2026, 8:39 AMandroidApp module sits outside the composeApp module.
My question is: how can I share build flavors/variants in this setup? I have three flavors (QA, UAT, Prod) and both debug and release builds, making a total of six variants. I also have six different base URLs for the HTTP client.
All networking logic is implemented in commonMain using Ktor for both Android and iOS. However, on the Android side I’m unable to pass variant-specific values such as BuildConfig, isDebuggable, etc., into the shared code. What is the best way to handle this? Has anyone faced a similar issue?
Additionally, I added the Napier library in commonMain dependencies, but its import is not being resolved inside the androidApp module.Vishal kumar singhvi
02/27/2026, 2:52 PMzsmb
02/27/2026, 2:53 PMVishal kumar singhvi
02/27/2026, 5:26 PM