Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
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.