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
Whenever you open the .saveAs() and try to save a file with a custom extension, it will still save as a .json file. await FileSaver.instance.saveAs(fileName, data, 'custom123', MimeType.JSON)
When you set the MimeType to OTHER, it saves without an extension. await FileSaver.instance.saveAs(fileName, data, 'custom123', MimeType.OTHER)
I've only tried this code on Android.
The text was updated successfully, but these errors were encountered:
* Fixed the incomplete path in saveFile method #16
* Fixed some crashes in some folders on saveAs method
* Fixed application crash issue **_reply already submitted_** #14
* Fixed **_Wrong or missing file extension when calling saveAs()_** Issue #20
Whenever you open the .saveAs() and try to save a file with a custom extension, it will still save as a .json file.
await FileSaver.instance.saveAs(fileName, data, 'custom123', MimeType.JSON)
When you set the MimeType to OTHER, it saves without an extension.
await FileSaver.instance.saveAs(fileName, data, 'custom123', MimeType.OTHER)
I've only tried this code on Android.
The text was updated successfully, but these errors were encountered: