cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9851) Document cdvfile protocol quirk - using cdvfile:// in the DOM is not supported on Windows
Date Fri, 23 Oct 2015 10:57:27 GMT

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

ASF GitHub Bot commented on CB-9851:
------------------------------------

GitHub user daserge opened a pull request:

    https://github.com/apache/cordova-plugin-file/pull/141

    CB-9851 Document cdvfile protocol quirk - using cdvfile:// in the DOM…

    … is not supported on Windows
    
    [Jira issue](https://issues.apache.org/jira/browse/CB-9851)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-plugin-file CB-9851

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-file/pull/141.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #141
    
----
commit 667462eccd9489cefdaebbb66ebf174e2c36512a
Author: daserge <v-seshak@microsoft.com>
Date:   2015-10-23T10:50:33Z

    CB-9851 Document cdvfile protocol quirk - using cdvfile:// in the DOM is not supported
on Windows

----


> 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


Mime
View raw message