-
Notifications
You must be signed in to change notification settings - Fork 52
Description
On Android, package version 0.12.0.
Saw the following behavior with the FileKit.openFileSaver(filename):
If I don't provide an extension, the method will add .null to my file, even if it already has an extension.
e.g. document.docx becomes document.docx.null if I call with: FileKit.openFileSaver("document.docx")
The workaround I am using now is extracting and removing the extension from my filename and call like this: FileKit.openFileSaver("document", "docx"), that way the file is saved as document.docx.
My expectation would be that the method FileKit.openFileSaver(filename) respects the original file name and doesn't add .null if no extension is provided, as it is an optional parameter.
It could be that this issue happens with .docx extensions but not other extensions, I didn't check that. But I saw this behavior with this file extension.