HarmonyOs 网络安全配置,允许应用使用明文流量传输

微信截图_20210628134242.png
微信截图_20210628134308.png

"deviceConfig": {
"default": {
"process": "xxx",
"directLaunch": false,
"supportBackup": false,
"network": {
"cleartextTraffic": true,
"securityConfig": {
"domainSettings": {
"cleartextPermitted": true,
"domains": [
{
"subdomains": true,
"name": "域名"
},
{
"subdomains": true,
"name": "ip地址"
}
]
}
}
}
}
},

你可能感兴趣的:(HarmonyOs 网络安全配置,允许应用使用明文流量传输)