Closed mariagloin closed 3 weeks ago
This issue is stale because it has been open for 7 days with no activity.
i have the same problem
Same problem here
This issue is stale because it has been open for 7 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Describe the bug I encountered a bug while using the saveFile() method. When attempting to save two documents with the same name (for example, "Documents.pdf"), the second file is saved as Documents.pdf (1). This results in the file extension being incorrectly appended to the file name instead of preserving it.
It appears that the code in the package does not properly handle cases where a file with the same name already exists in the directory. As a result, the Android filesystem automatically adds a number to the end of the filename to avoid conflicts, but this adjustment does not account for the file extension.
Platform
Details to reproduce the issue
Environment
Thank you in advance for looking into this issue!