How to install crosswalk lite plugin using cordova cli

送分小仙女□ 提交于 2019-12-13 02:56:05

问题


I would like to know how to use "cordova plugin add cordova-plugin-crosswalk-webview" but instead install the lite version. Thanks.


回答1:


If you use Ionic Framework it becomes very easy. So, using Ionic you could choose among all available browser listed by the Ionic CLI command ionic browser list. Output example:

Android - Browsers Listing:

Available - Crosswalk - ionic browser add crosswalk
         Version 8.37.189.14 Published
         Version 9.38.208.10 Published
         Version 10.39.235.15 Published
         Version 11.40.277.7 Published
         Version 12.41.296.5 Published
(beta)   Version 13.42.319.6 Published
(canary) Version 14.42.334.0 Published

Available - Crosswalk-lite - ionic browser add crosswalk-lite
(canary) Version 10.39.234.1 Published
(canary) Version 10.39.236.1 Published

Then, for example, install an alternate browser with the command:

ionic browser add crosswalk-lite@10.39.236.1


来源:https://stackoverflow.com/questions/33003505/how-to-install-crosswalk-lite-plugin-using-cordova-cli

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!