o0o*_*o0o 5 android google-chrome webview chrome76
我已将请求从我的应用程序发送到 API 服务器;在WebView Chrome 76.0.3809.89上无法调用API日志中显示以下错误:
Access to XMLHttpRequest at 'https://.....' from origin 'file://' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
它在 Chrome 75 上正常工作。如何在 Android WebView 上禁用此 CORS 检查?或者还有其他解决方案吗
这似乎是 Chrome 76 的错误 https://bugs.chromium.org/p/chromium/issues/detail?id=991107 关闭应用程序并再次运行然后它再次工作。
更新:Chrome 76.0.3809.111(向 100% 用户推出)修复了该问题;现在只需更新 chrome 即可修复。
| 归档时间: |
|
| 查看次数: |
5624 次 |
| 最近记录: |