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

Ionic network security config

$
0
0

@AhsanMughal wrote:

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?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70754

Trending Articles



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