You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jesse MacFadyen (JIRA)" <ji...@apache.org> on 2015/11/05 02:54:27 UTC

[jira] [Resolved] (CB-9851) Document cdvfile protocol quirk - using cdvfile:// in the DOM is not supported on Windows

     [ https://issues.apache.org/jira/browse/CB-9851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse MacFadyen resolved CB-9851.
---------------------------------
    Resolution: Fixed

> Document cdvfile protocol quirk - using cdvfile:// in the DOM is not supported on Windows
> -----------------------------------------------------------------------------------------
>
>                 Key: CB-9851
>                 URL: https://issues.apache.org/jira/browse/CB-9851
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File
>            Reporter: Sergey Shakhnazarov
>            Assignee: Sergey Shakhnazarov
>            Priority: Minor
>              Labels: cdvfile, windows
>
> From Slack discussion:
> *ghenry22*: I noticed on windows platform that cdvfile:// resource paths don't resolve in the web view and just present a broken link, for example using img ng-src cdvfile://localhost/persistent/images/test.jpg works perfectly on ios and android but on the windows platform (building windows 10 universal app) the image show as broken links
> if I inspect the dom and dynamically change the path to the image to be ms-appdata:///local/images/test.jpg the image pops up and displays as normal
> Seems like cordova plugins internally all work fine resolving cdvfile urls (ie file, file transfer, media) but the webview will not resolve them.  Not sure if this is a bug or a limitation of the webview in windows universal apps, if it is a limitation it would be good to have a note about it against this platform so no one else spends days trying to figure out what is up with that.



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

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