javascript - When should wkWebView be used? -
i using cordova build hybrid application. in app, links not work in ios (no issues on android). after extensive searches, found error "resetting plugins due page load". found solution here. in order resolve this, however, need use wkwebview, installed (wkwebview plugin).
some sites show details of wkwebview, unsure of how or when should using wkwebview.
webview web kit (wk) - in other words browser engine (responsible rendering view, html5 functionalities database etc). webview should used if have ios app. default, ios uses uiview, has lot of bugs , issues cordova. webview should fix them, , improve performance.
however, webview installation might tricky one. example, has no support websql or indexeddb (and therefore, sqlite should used ios). also, if accessing files via file:// protocol, need install additional plugins runs local server (https://git-wip-us.apache.org/repos/asf/cordova-plugins.git#master:local-webserver). in addition, don't need on android , localserver settings should applied ios.
although sounds complicated. still highly recommended installed. unless have basic app.
in future, cordova plans make wkwebview default 1 ios (and platforms such ionic etc). read this.
i hope answered point.
source: my own experience hybrid apps
Comments
Post a Comment