[
https://issues.apache.org/jira/browse/CB-9851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14990915#comment-14990915
]
ASF GitHub Bot commented on CB-9851:
------------------------------------
Github user ghenry22 commented on the pull request:
https://github.com/apache/cordova-plugin-file/pull/141#issuecomment-153925590
I reported this and can confirm it is the case on the windows platform.
This is a trivial change to the docs but very useful information for anyone
working with this cordova platform as it's a platform specific quirk.
Would be good to get this merged as it may well save people porting apps a
lot of time.
> 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: [email protected]
For additional commands, e-mail: [email protected]