How to change Build variant Programatically in Android?

850 views Asked by At

I am making an application in Kotlin where, there is a dropDown menu with my pre-made build variant like QA, PROD & DEBUG.

I want to change my build variant based on a selection from DropDown.

Due to some restrictions, I can't share my code. Any link for a sample would be appreciable

0

There are 0 answers