ionic-team / ionic-team/ion-android-filesystem
Uploading files larger than 2.14GB using chunked upload not working
Open
- Dominant language
- Kotlin
- Stars
- 1
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
The implementation of `IONFILEReadInChunksOptions.kt` uses a Int to represent the offset. This means, if the file is larger than Int.MAX_VALUE we have an overflow situation resulting in a corrupt file after upload.
A correct implementation using random file access shoudl use a long value. As it's also done in `RandomAccessFile.seek(long pos)` or `FileChannel.position(long position)`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.