android modules and product falvors #2780
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?Android (Kotlin) Steps to reproducetried to search for how to build selecting modules and product flavors on youtube channel, blog, docs, dicord. I could not find anything to show how to do it. Am I missing something somewhere? if there is doc about it how can I do it? Expected resultsfinding sources which shows me how to implement android modules and product flavors on yaml file Actual resultsthere is no information about how to do it Build id (optional)No response |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
Hello @hsynkunduz. |
Beta Was this translation helpful? Give feedback.
-
yes I saw those links, I also found blog posts and videos about flutter. But thats flutter flavors, its very different than android ones. Even if it's same still thats not including android modules. I have an android project which have two modules and they have two flavors each. With this I can create two apps and two versions for each of them. I'm trying to get builds I'm able to get from android studio. |
Beta Was this translation helpful? Give feedback.
-
Hi @dam-ease I'm hsynkunduz with another github account. I'm ready with sample project in codemagic-sample-projects but since I do not hold permissions I'm not able to push. What should I do. |
Beta Was this translation helpful? Give feedback.
-
btw so sorry for the really late response |
Beta Was this translation helpful? Give feedback.
Hello @hsynkunduz
I am currently working on generating a sample project and updating the docs to include building selected modules and product flavors in Android - #2784. I would like to keep you in the loop so you can as well try on your end.
Firstly, creating the flavors in the build.gradle.kts file using the code snippet below
Code Snippet (build.gradle.kts file)