ionic-team / ionic-team/capacitor-filesystem
Uploading files larger than 2.14GB using chunked upload not working
- Dominant language
- TypeScript
- Stars
- 6
- Forks
- 15
- Avg merge
- 14m
- Merged PRs (30d)
- 1
Description
## Bug Report
### Capacitor Version
v8.1.2
### Platform(s)
Android
### Current Behavior
It's not possible to upoad a file > 2.14GB using chunked upload. The uploaded file is corrupt. The root cause of this issue is the bug RNMT-9 in https://github.com/ionic-team/ion-android-filesystem/. PR has been created (see https://github.com/ionic-team/ion-android-filesystem/pull/10). Since ion-android-filesystem is a dependency of capacitor-filesystem I'm creating an issue here as well.
### Expected Behavior
Successful chunked upload of large files.
### Other Technical Details
Wrong type handling. `int` used for random file access instead of `long`. See https://github.com/ionic-team/ion-android-filesystem/pull/10
Contributor guide
Assessment
This issue has not been assessed yet.