如何在Android上的一个不同的WebView运行的PhoneGap? [英] How to run PhoneGap on a different WebView on Android?
问题描述
的PhoneGap /科尔多瓦是Android上的浏览器原生的WebView这是WebKit的版本534.30可达Android 4.4的运行。我搜索的替代品使用新的web视图,例如,铬基。以下是我发现的:
PhoneGap/Cordova is running on the native webview on Android browsers which is the webkit version 534.30 up to Android 4.4. I searched for alternatives to use a newer webview, e.g., Chromium based. Here is what I found:
- https://github.com/MobileChromeApps/mobile-chrome-apps
- CrossWalk
- cocoonjs
有一些缺点。当您添加编译铬的WebView到您的PhoneGap应用程序,你得到最多的应用程序的大小40MB,这是非常多的。
There are some drawbacks. When you add a compiled Chromium webview to your PhoneGap app you get up to 40MB in app size which is very much.
有另一种方式来使用不同的WebView在Android上比原生的WebView不增加应用程序大小为多少?
推荐答案
想想网页视图几乎是一个完整的浏览器。目前可用于创造者的唯一选择是编译一个免费的浏览器,并添加web视图界面。
Think a webview is almost a complete browser. Currently the only option available for creators is to compile a free browser and add webview interface.
您可以看看通过在以下链接铬基的WebView支持的所有功能:
http://support.ludei.com/hc/en -us /用品/ 202308176-WebView的支持的API
You can take a look to all the features supported by a chromium-based webview in the following link: http://support.ludei.com/hc/en-us/articles/202308176-Webview-Supported-APIs
这篇关于如何在Android上的一个不同的WebView运行的PhoneGap?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!