安卓互联网应用程序无法正确呈现移动网站版本



所以情况是 - 当我在Android Chrome下运行我的网站时,一切都没问题,但是当我在默认的"互联网"应用程序中打开它时,它不会呈现一些html标记,js只运行到一定程度。我使用Aurelia.js框架对其进行编码。如何调试此行为?有没有办法以某种方式在Android默认互联网应用程序上的js控制台中看到错误?

这取决于

您正在测试的Android版本

正如谷歌所说

Since Android 4.4 (KitKat), the WebView component is based on the Chromium open source project. WebViews now include an updated version of the V8 JavaScript engine and support for modern web standards previously missing in old WebViews. New Web views also share the same rendering engine as Chrome for Android, so rendering should be much more consistent between the WebView and Chrome.https://developer.chrome.com/multidevice/webview/overview

因此,如果您在 4.4 之前的 android 版本上进行测试,您可能不会在基于 chromium 的浏览器上进行测试

最新更新