[jira] [Commented] (CB-10141) cdvfile:// urls will not work in WKWebViewEngine

2018-09-26 Thread Shan Lin (JIRA)


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

Shan Lin commented on CB-10141:
---

Thanks Shazron.  I found a plugin can achieve the goal but bypass the wkwebview 
plugin.

> 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: cordova-plugin-file, cordova-plugin-wkwebview-engine
>Reporter: Shazron Abdullah
>Priority: Major
>  Labels: wkwebview-baked-in, 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
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-10141) cdvfile:// urls will not work in WKWebViewEngine

2018-09-25 Thread Shazron Abdullah (JIRA)


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

Shazron Abdullah commented on CB-10141:
---

You'll need to handle this in native code with WKURLSchemeHandler. Our plugin 
does not have a generalized solution for this.
https://developer.apple.com/documentation/webkit/wkurlschemehandler

> 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: cordova-plugin-file, cordova-plugin-wkwebview-engine
>Reporter: Shazron Abdullah
>Priority: Major
>  Labels: wkwebview-baked-in, 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
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-10141) cdvfile:// urls will not work in WKWebViewEngine

2018-09-25 Thread Shan Lin (JIRA)


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

Shan Lin commented on CB-10141:
---

Shazron, I built a simple cordova app with Xcode 9.4.1 and cordova-ios 4.5.4, 
and tested with IOS 11 device.  The app still cannot handle custom url scheme, 
like: otpauth://  It complaints with message of "Failed to load webpage 
with error: unsupported URL".  Do you know if it is the limitation of 
cordova-plugin-wkwebview-engine?

> 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: cordova-plugin-file, cordova-plugin-wkwebview-engine
>Reporter: Shazron Abdullah
>Priority: Major
>  Labels: wkwebview-baked-in, 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
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-10141) cdvfile:// urls will not work in WKWebViewEngine

2018-07-11 Thread Shazron Abdullah (JIRA)


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

Shazron Abdullah commented on CB-10141:
---

iOS 11 can now handle custom url schemes in WKWebView. 

> 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: cordova-plugin-file, cordova-plugin-wkwebview-engine
>Reporter: Shazron Abdullah
>Priority: Major
>  Labels: wkwebview-baked-in, 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
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-10141) cdvfile:// urls will not work in WKWebViewEngine

2017-05-02 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-10141:
---

https://bugs.webkit.org/show_bug.cgi?id=138169


> 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.15#6346)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-10141) cdvfile:// urls will not work in WKWebViewEngine

2016-12-29 Thread David Gagnon (JIRA)

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

David Gagnon commented on CB-10141:
---

Do you know if Cordova folks have a long term strategy for dealing with 
WKWebView? 

> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-10141) cdvfile:// urls will not work in WKWebViewEngine

2016-02-25 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-10141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-10141) cdvfile:// urls will not work in WKWebViewEngine

2016-02-25 Thread Marc Luria (JIRA)

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

Marc Luria commented on CB-10141:
-

Is this something that can be fixed?  Or is it similar to the issue regading 
files outside of the index.html tree, it's just part of the way ios works.

Would a workaround with a local file server help?

> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org