0
点赞
收藏
分享

微信扫一扫

#yyds干货盘点#[网络异常-证书] Insecure HTTP is not allowed by platform

[网络异常-证书] Insecure HTTP is not allowed by platform

平台问题: Android9之后 默认只能使用https

解决方案:​​在AndroidManifest.xml中application节点配置​

android:usesCleartextTraffic="true"

​​#yyds干货盘点#[网络异常-证书] Insecure HTTP is not allowed by platform_解决方案​​

iOS解决方案,偷懒的简单方法是直接禁用(生产环境不推荐,因为不安全),详情请看 

​​#yyds干货盘点#[网络异常-证书] Insecure HTTP is not allowed by platform_ios_02​​

​​how-can-i-add-nsapptransportsecurity-to-my-info-plist-file​​

举报

相关推荐

0 条评论