ionic-team / ionic-team/cordova-plugin-ionic-webview
Cordova File > FileEntry > remove()
- Dominant language
- Objective-C
- Stars
- 493
- Forks
- 410
- PR merge metrics
- No merged PRs in 30d
Description
On upgrading 1.1.16 to 2.2.5, certain files cannot be deleted after being written by cordova-file-transfer. Affected files read successfully.
cordova-plugin-file "File" versions 6.0.1,4.3.3
cordova-plugin-file-transfer "File Transfer" versions 1.7.1, 1.6.3
Platforms: Android,iOS
Filename examples: 12345.abc, 1212121.abc
Problem:
window.requestFileSystem -> FileSystem.root.getFile -> FileEntry.remove
Solution:
window.resolveLocalFileSystemURL -> DirectoryEntry.getFile -> FileEntry.remove
Both Problem/Solution implementations provide a FileEntry object, however we can only successfully invoke remove() in the Solution.
Contributor guide
Assessment
This issue has not been assessed yet.