BanTheRewind edited a comment on issue #346:
URL:
https://github.com/apache/cordova-plugin-file/issues/346#issuecomment-749231869
I resolved this by using the application storage on iOS, rather than the
"data directory".
```
function getDataDirectory() {
if (device.platform == "iOS") {
return `${cordova.file.applicationStorageDirectory}Documents`;
}
return `${cordova.file.dataDirectory}`;
}
...
window.resolveLocalFileSystemURL(getDataDirectory(), (directoryEntry) => {
// Enjoy cross-platform success here
}
```
----------------------------------------------------------------
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]