Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File extension being inconsistent #110

Open
GameTec-live opened this issue Mar 21, 2024 · 4 comments
Open

File extension being inconsistent #110

GameTec-live opened this issue Mar 21, 2024 · 4 comments
Assignees

Comments

@GameTec-live
Copy link

Somehow in a recent? ish update some inconsistency with the file extension was introduced.
When calling the saveAs function (example below), on windows it now doesnt recognize the .bin extension and assumes its a IN file, on android the .bin extension gets succesfully recognized and added and on Linux no extension gets added but it still works (so thatd be fine ig).
The problem im having with this is, that on Android (and i belive iOS too), the ext: 'bin' works fine as it always has, but on windows it breaks. I can now change it to ext: '.bin' to fix this issue on windows, but now on mobile i get 2 ..
Please fix this issue as soon as possible as my app is relying on this package, thanks!

FileSaver.instance.saveAs(
          name: tag.name,
          bytes: Uint8List.fromList(tagDump),
          ext: 'bin',
          mimeType: MimeType.other);
@GameTec-live
Copy link
Author

it seems to happen with 0.2.9 and anything upwards?

@incrediblezayed
Copy link
Owner

Hey, sincerest apologies for such a late response, I will check it up & fix it for sure, thanks

@incrediblezayed incrediblezayed self-assigned this May 29, 2024
@GameTec-live
Copy link
Author

Oh hey, thanks for looking into this issue!

@GameTec-live
Copy link
Author

hey, uummm... any news on this issue?

Foxushka added a commit to Foxushka/file_saver that referenced this issue Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants