Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70749

Where to put network_security_config.xml

$
0
0

@ntle wrote:

Hello,

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?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70749

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>