Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 229880

Ionic network security config

$
0
0

Hello i am working on ionic application. with executing this command ionic cordova build android --prod --release . it does generate the unasigned apk file,but it also show error in network_security_config file.

Error
app\src\main\res\xml\network_security_config.xml:4: Error: Missing includeSubdomains attribute [NetworkSecurityConfig] <domain>localhost</domain>

i tried multiple solutions, but doesn’t work for me.

Reference

How to allow all Network connection types HTTP and HTTPS in Android (9) Pie?

How Cordova support Network Security Config introduced by Android 7.0?

Could someone help me with this?


Viewing all articles
Browse latest Browse all 229880

Trending Articles



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