cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [cordova-plugin-file] tomaz-dugii commented on pull request #358: fix(ios) issue #349 - navigate to cdvfile with wkwebview
Date Wed, 03 Jun 2020 06:58:21 GMT

tomaz-dugii commented on pull request #358:

   Hi, I am trying to use your fix for problems with cdvfile on ios. But I can't figure it
out how this works.
   I'm trying to load .png image from phone app storage (Documents folder) with native URL
(**.toInternalURL()**)  cdvfile://url and get this error:
   `[Error] Failed to load resource: unsupported URL (cdvfile://localhost/persistent/image.png,
line 0)`
   When using **.toURL()** for file:// link  I receive this error:
   `Failed to load resource: The operation couldn’t be completed. (kCFErrorDomainCFNetwork
error 1.)` 
   url like this :
   `[Log] file:///var/mobile/Containers/Data/Application/7ECD0022-9EA9-4BA5-8D45-0ECCD417625C/Documents/image.png

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message