This is more tricky than it seems, I think. The now-official way to use WKWebView in Cordova is with their new official WKWebView plugin, which is what we use, and requires some workarounds so we include some other plugins such as cordova-httpd. I don't know how Cocoon's WKWebView support works - it seems it uses a different system of their own design. Still it would make sense for them to unify their solution with the way the rest of the Cordova ecosystem works, so I anticipate this will change at some point. The suggested workaround will break it again if they do that. It also makes the runtime think it's in a UIWebView when it's really in a WKWebView, which could have other side-effects.
The HTTP server is only used for video support, since we have to work around WKWebView limitations there. I don't know if Cocoon's own WKWebView support covers video playback? That was a tough problem for us when working with WKWebView. So to hack around this, for the next build I've allowed the runtime to be able to start up without the HTTP server, and the only side effect is video playback probably won't work. I still think the HTTP server plugin should be supported by Cocoon though - otherwise I don't see how video support can work.
Hi Ashley
if you mean that the now official wkwebview plugin for cordova is this https://github.com/apache/cordova-plugi ... iew-engine
this is not working with c2
if i add the plugin i got black screen
if i delete it it work
if i add it and change the index.html to simple "hello" ... that work ... so i think the problem is in c2 export (c2runtime etc ...)