简体   繁体   English

Android:WebView兼容性(Chromium和WebKit WebView)

[英]Android: WebView compatibility (Chromium and WebKit WebView)

If I want to support the Chromium WebView, I set minimum required SDK to API 19: Android 4.4 (KitKat). 如果要支持Chromium WebView,则将最低必需的SDK设置为API 19:Android 4.4(KitKat)。 Works fine. 工作正常。

But if I set the SDK to API 16 Android 4.1, I can support more devices via the old WebKit WebView. 但是,如果将SDK设置为API 16 Android 4.1,则可以通过旧版WebKit WebView支持更多设备。

My question is, if I set it to API 16, will users who are running Android 4.4+ see the Chromium WebView or will they be stuck with the old WebView? 我的问题是,如果将其设置为API 16,运行Android 4.4+的用户会看到Chromium WebView还是会被旧的WebView束缚?

Users, who will running Android 4.4+ will see the Chromium WebView only. 使用Android 4.4及更高版本的用户将只能看到Chromium WebView。 There is no "old" or "new" WebView in Android - only current version, which depends on OS version. Android中没有“旧”或“新” WebView,只有当前版本,这取决于操作系统版本。 For more details, read: https://developer.android.com/guide/webapps/migrating.html 有关更多详细信息,请阅读: https : //developer.android.com/guide/webapps/migrating.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM