You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't understand why saveFile need to define a FileType type, so I can't create a PR.
SaveFile should take a String mimeType and pass this mimeType to native API (intent.setType(mimeType). By doing that, issue is fixed.
Hi,
i am using the last version of the package 8.1.7.
When I use saveFile() and a file with the same filename already exists, it increments but after the actual filename (containing its extension).
Example: "filename.pdf" already exists
The new file will be saved under "filename.pdf (1)". So it breaks the extension and the filesystem will not recognize the file as a pdf.
The solution would be to put the increment before the extension.
Temporary solution: add a uuid between the name and the extension (I used a 5 chars length uuid, it should be fine)
The text was updated successfully, but these errors were encountered: