Cordova + Crosswalk iOS still using UIWebView

放肆的年华 提交于 2019-11-30 05:26:04

@csga5000
A review of the plugin repository does NOT indicate a cordova-plugin-crosswalk-webview that supports iOS. This means crosswalk does not work as a plugin for iOS.

Yes there is support for Crosswalk for iOS, but you must install via the github repository or other means.

FWIW: there is a WkWebview plugin

UPDATE: 2016-03-19. The follow post was made on February 16, 2016:
Plugins From Git Repositories Are Now Available on PhoneGap Build!

How I solved the issue

As JesseMonroy so helpfully answered(feel free to upvote him) the cordova crosswalk plugin is only for android.

Because of apple's terms of service, crosswalk for iOS uses wkwebview instead of what non-ios version of chrome would use.

Since there is no cordova plugin I know of for crosswalk iOS, I found plugins for WKWebView

The plugin I used was: https://github.com/Telerik-Verified-Plugins/WKWebView

This is probably a better option: https://github.com/apache/cordova-plugin-wkwebview-engine.. But it errored for me.


Coming soon:

As stated by Honry:

Crosswalk will soon provide a cordova plugin for Crosswalk ios, see ticket https://crosswalk-project.org/jira/browse/XWALK-4911

XWalk will not be supporting an iOS plugin afterall because it does not provide any must have advantages over wkwebview

Crosswalk will soon provide a cordova plugin for Crosswalk ios, see ticket https://crosswalk-project.org/jira/browse/XWALK-4911

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