Nothing in polymer appears to reference file:// anything... this sounds
like it may be a Cordova issue?

-Karl Tiedt

On Mon, May 2, 2016 at 9:17 AM, Jim Trainor <[email protected]>
wrote:

> Polymer applications fail to load in an iOS WKWebView, as supported by
> Cordova. The root cause of the problem is that WKWebView does not permit
> loading of content via file:.  Cordova's support for WKWebView bypasses
> this restriction by implementing a in-app web server to host the static
> content. Polymer fails because the polymer code tries to load a local,
> static, html file, using a file:// url via an XHR request. The file:// XHR
> request is rejected by WKWebView.
>
> This has turned into a blocking issue for publishing Polymer applications,
> using Cordova, on iOS.
>
> Does this sound familiar to anybody?
>
> Is there anyway to cleanly define the URL where Polymer loads elements (or
> whatever is loaded via the file:// XHR)?
>
> Here is the Apache bug: Allow WKWebView to proxy file:// url loading in
> XmlHttpRequest.open
> <https://issues.apache.org/jira/browse/CB-10109?jql=project%20%3D%20CB%20AND%20labels%20%3D%20wkwebview-known-issues>
>
>
>
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/72dda4a2-5447-4dec-a4e7-b075a02927ad%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/72dda4a2-5447-4dec-a4e7-b075a02927ad%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTFjPPVYEnwdN9K0x0TT1WxgtXhKtwat_mrRaO5-jaUGjw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to