cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [cordova-plugin-file] Polm90 opened a new issue #394: File access with cordova-ios 6.0.0
Date Thu, 04 Jun 2020 16:00:34 GMT

Polm90 opened a new issue #394:
URL: https://github.com/apache/cordova-plugin-file/issues/394


   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//Library/Developer/CoreSimulator/Devices/E56CD54C-AA0C-43F8-BB37-9D91CA3754C1/data/Containers/Data/Application/683C763A-1710-4729-83E0-DC693A142188/Library/NoCloud/"
   So, maybe, I just need to change some preference in the config.xml or to do something else
simple.
   
   I also tried to read this [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'm also using the [ionic-webview](https://github.com/ionic-team/cordova-plugin-ionic-webview)
   
   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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message