Where to put network_security_config.xml


I have an app built with ionic 2.0.2 using cordova-android 6.2.3. I am doing an update to cordova-android 8.1.0 keeping the same ionic version. However upon upgrade my app cannot access any remote url and i just found that i need to add android:usesCleartextTraffic=“true” to the config.xml and network_security_config.xml which allow connecting to some domain. The network_security_config.xml should be in the resource/android folder but this is not tracked in source control. Is there a place where i can put this network_security_config.xml so that it will be copied to resource/android folder upon build?

You can find usefull info at: