Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
toly1994328 opened this issue Sep 15, 2020 · 2 comments
Open
Labels
point The point of Flutter

Comments

@toly1994328
Copy link
Owner

toly1994328 commented Sep 15, 2020

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

@toly1994328
Copy link
Owner Author

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

android:usesCleartextTraffic="true"

11391600137734_ pic

@toly1994328 toly1994328 added the point The point of Flutter label Sep 15, 2020
@Johnnie-198312
Copy link

iOS解决方案,偷懒的简单方法是直接禁用(生产环境不推荐,因为不安全),详情请看 how-can-i-add-nsapptransportsecurity-to-my-info-plist-file

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
point The point of Flutter
Projects
None yet
Development

No branches or pull requests

2 participants