Quote:
Originally Posted by JimmXinu
It looks like CC, when writing an epub that already exists, overwrites the existing file but doesn't truncate the file if the new epub is shorter.
|
Looking at the old code, I think this can happen if your file is on an SD card/managed by the Android SAF. The documentation for opening a file for write doesn't say whether or not the file is trucated. Some posts on Stack Overflow and your experience says that it isn't.
Good hunting!