Android互联网应用无法正确呈现移动网站版本

时间:2017-05-13 21:32:32

标签: javascript android aurelia

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

1 个答案:

答案 0 :(得分:0)

这取决于您正在测试的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版本上进行测试,则可能无法在基于铬的浏览器上进行测试