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

black screen #195

Open
motesh opened this issue Sep 22, 2020 · 5 comments
Open

black screen #195

motesh opened this issue Sep 22, 2020 · 5 comments

Comments

@motesh
Copy link

motesh commented Sep 22, 2020

No description provided.

@robbiedood
Copy link

Got the same issue using Google Pixel 2 with Android 11 version.

@cartantino
Copy link

Same, anyone solved?

@maoruiily
Copy link

我也遇到过黑屏问题,是因为从 Android P(安卓 9,API 级别 28) 系统开始,如果应用使用的是非加密的明文流量的 http 网络请求,则会导致该应用无法进行网络请求,https 则不会受影响,同样地,如果应用嵌套了 webview,webview 也只能使用 https 请求,增加下 network-security-config 配置就好了

@xujingzhou
Copy link

我也遇到过黑屏问题,是因为从 Android P(安卓 9,API 级别 28) 系统开始,如果应用使用的是非加密的明文流量的 http 网络请求,则会导致该应用无法进行网络请求,https 则不会受影响,同样地,如果应用嵌套了 webview,webview 也只能使用 https 请求,增加下 network-security-config 配置就好了

我加了xml及修改了配置文件,但还是启动后显示黑屏:

@jingyao6
Copy link

我也遇到过黑屏问题,是因为从 Android P(安卓 9,API 级别 28) 系统开始,如果应用使用的是非加密的明文流量的 http 网络请求,则会导致该应用无法进行网络请求,https 则不会受影响,同样地,如果应用嵌套了 webview,webview 也只能使用 https 请求,增加下 network-security-config 配置就好了

我加了xml及修改了配置文件,但还是启动后显示黑屏:
解决了吗?我加了,还是拿不到传过来的画面
<network-security-config> <base-config cleartextTrafficPermitted="true" /> </network-security-config>

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

No branches or pull requests

6 participants