cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabbage <>
Subject Re: [iOS 8] Status of WKWebView work
Date Wed, 08 Oct 2014 17:31:13 GMT
What about other requests from the network? Is the server accessible to network peers?

Sent from my iPhone

> On Oct 8, 2014, at 10:26 AM, Shazron <> wrote:
> I'll release the local webserver soon as a plugin, it was just a proof of
> concept. It should work with existing Cordova versions as well, but will
> not have a way to secure access to the local web server from other
> (background) running apps.
>> On Wed, Oct 8, 2014 at 4:10 AM, Andrew Grieve <> wrote:
>>> On Fri, Sep 5, 2014 at 2:40 PM, Shazron <> wrote:
>>> I figure I will write this all up before the official release of iOS 8
>> next
>>> week (probability high) and everyone asking about support.
>>> It has stalled because the WKWebView cannot load files using the file://
>>> protocol since iOS 8 beta 4.
>>> This bug has been filed with Apple weeks ago:
>>> I even checked WebKit check-ins if there was any progress, so far, no:
>>> (but it's entirely possible the loading code is in another part of the
>>> tree).
>>> The alternative is to run a local web server, which works great. However,
>>> this will open up a can of worms possibly with Apple, I'm not sure.
>> Shaz, did you implement a prototype with a local web server? Would be
>> useful to see how the code for this works.
>>> The other interesting tidbit is, with WKWebView, for locally loaded files
>>> using the file:// protocol, cross-domain restrictions now apply, unlike
>>> UIWebView's behaviour. To have the same behaviour as UIWebView, we would
>>> need to proxy these requests (modify to go to our proxy, which
>>> requires the local web server).
>>> The bridge works great, and plugins work great.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message