Anyone have an example/github link of a kmp app that includes an android app that uses build flavors (i.e. free + paid). Feel like I'm missing something here in my local setup. Might be better to just look at an example.
Hm. close to what i want but i want proper separation of source sets for free and paid. not just buildConfig fields.
a
Anum Amin
01/17/2024, 9:52 PM
hmm interesting.. I would like to do an R&D on it if have sometime. Since it is not supported officially, may be a way can be combination of config + separate modules for both free + paid. Include conditionally the module in gradle dependency. In this way, source code will be confined along with their own flows as well.
c
Colton Idle
01/17/2024, 9:53 PM
yeah, right now i don't need ios to have free/paid or anything. i just want my existing android apps free/paid to also work since i moved to kmp
👀 1
e
electrolobzik
05/03/2024, 3:22 PM
@Colton Idle did you find any solution for source set separation? I also need to separate some resources depending on the flavour defined in BuildKonfig.
c
Colton Idle
05/03/2024, 5:37 PM
didnt find a solution =(
maybe post a new question and see if anyone has an answer?