Polm90 commented on issue #883:
URL: https://github.com/apache/cordova-ios/issues/883#issuecomment-638923567


   I have the same issue.
   But I do not understand if I'm missing something else and how I can properly 
fix it.
   
   I use the file plugin and I access try to access to local files via this:
   
   `let path = cordova.file.dataDirectory + nameFile;
   window.resolveLocalFileSystemURL(path, success, error);`
   
   and with cordova-ios 6.0.0 I always receive error (NOT_FOUND_ERR).
   I do not explicitly use the "file://" scheme, but actually, if I inspect the 
code at runtime, I see that path has the following value:
   
   
"file:///Users/<name>/Library/Developer/CoreSimulator/Devices/E56CD54C-AA0C-43F8-BB37-9D91CA3754C1/data/Containers/Data/Application/683C763A-1710-4729-83E0-DC693A142188/Library/NoCloud/<filename>"
   So, maybe, I just need to change some preference in the config.xml or to do 
something else simple.
   
   I also tried to read the [blog 
post](https://cordova.apache.org/announcements/2020/06/01/cordova-ios-release-6.0.0.html)
 and I tried to add the preference options indicated but they didn't work 
(probably, I've missed something or I've not understood something properly).
   
   I do not know if the file-xhr plugin will help me (note that I'm using the 
[ionic-webview](https://github.com/ionic-team/cordova-plugin-ionic-webview)) 
once it will be properly updated.
   
   Thank you for any advice you can give me!


----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to