[ 
https://issues.apache.org/jira/browse/CB-10141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15167772#comment-15167772
 ] 

Shazron Abdullah commented on CB-10141:
---------------------------------------

No, it cannot be fixed because we can't intercept these url requests at a lower 
level for WKWebView.

A local server might help, but only as a workaround, and will not transparently 
load cdvfile urls. The workaround is that you would actively rewrite any 
cdvfile urls to localhost (through JavaScript), and transform the url go to an 
app path that you recognize and process (ie 
http://localhost/cdvfile/path/to/file).

> cdvfile:// urls will not work in WKWebViewEngine
> ------------------------------------------------
>
>                 Key: CB-10141
>                 URL: https://issues.apache.org/jira/browse/CB-10141
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File, Plugin WKWebViewEngine
>            Reporter: Shazron Abdullah
>              Labels: wkwebview-known-issues
>
> This was handled in a NSURLProtocol (in the File plugin), which cannot 
> intercept WKWebView connections.
> This affects native URIs returned by the Camera and File plugins.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to