How to set android:networkSecurityConfig only to single flavor

Viewed 2069

We deliver release apk build from a specific flavor(QA) to our QA team.

I would like to add networkSecurityConfig only to that flavor.

In order to do that I need to add next config to the manifest.

    <application android:networkSecurityConfig="@xml/network_security_config"... >
        ...
    </application>

Is that possible to add such config only to QA gradle flavor?

Preventing answers about <debug-overrides> it will not help me, since we delivers release build to QA.

1 Answers
Related