cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Santana (JIRA)" <>
Subject [jira] [Commented] (CB-10109) Allow WKWebView to proxy file:// url loading in
Date Sat, 12 Dec 2015 13:56:46 GMT


Carlos Santana commented on CB-10109:

Well I think CB-10144 is not a as critical as this one, most REST APIs have CORS headers.
So there is a sense workaround.

But I agree, using UIWebView might be a good option for that corner case, I would prefer to
fix local file, or better yet WebKit/Apple to fix this one.

Allowing cross-domain or file://, I think Apple should provide a way to declare domain exceptions,
similarly as ATS

> Allow WKWebView to proxy file:// url loading in
> -------------------------------------------------------------------
>                 Key: CB-10109
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Wish
>          Components: Plugin WKWebViewEngine
>            Reporter: Shazron Abdullah
>              Labels: wkwebview-known-issues
> Because of CORS, you can only open requests using http*:// schemes, not file.
> Ultimately this might be a new plugin. The plugin needs to:
> 1. Run a local webserver 
> 2. Proxy and rewrite urls that go to (1) 
> The local webserver in (1) will route the requests using the appropriate handler, and
will need to utilize a secret to prevent unauthorized access.
> Something like this:

This message was sent by Atlassian JIRA

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

View raw message