apache / apache/cordova-plugin-file

iOS > Remove > Code 5

Open
#275 8 comments 0 reactions 0 assignees View on GitHub
support
Dominant language
JavaScript
Stars
744
Forks
754
Avg merge
3d 4h
Merged PRs (30d)
1

Description

cordova-plugin-file 6.0.1 "File"
cordova-plugin-file-transfer 1.7.1 "File Transfer"
Platforms: iOS 11, iOS 12
Filename examples: 12345.xod, 1212121.xod

Cannot delete some types files in iOS, generates error: FileError code: 5

We retrieve a FileEntry object for the problem files, and can subsequently read the contents, however invoking .remove on the object always fails.

We also experience intermittent success reading these files, which may be a related issue.

We do not experience this problem when using:

cordova-plugin-file 4.3.3 "File"
cordova-plugin-file-transfer 1.6.3 "File Transfer"

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure on iOS 11 or 12 using cordova-plugin-file 6.0.1 and the FileEntry .remove operation, then compare it with version 4.3.3. Check whether the example .xod files can be read and deleted reliably without FileError code 5; the issue does not name source files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, javascript
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.