Skip to content

filename ignored on android #995

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

Open
avdept opened this issue Mar 18, 2025 · 1 comment
Open

filename ignored on android #995

avdept opened this issue Mar 18, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@avdept
Copy link

avdept commented Mar 18, 2025

Describe the bug

When specifying fileName its ignored on android and file saved under name inherited from URL. On iOS seem to be ok

To Reproduce

Just pass fileName prop to enqueue

await FlutterDownloader.enqueue(
      url: url,
      savedDir: saveDir.path,
      fileName: "yourfilename.txt",
    );

Expected behavior

I expect plugin to apply name specified name when downloading on android

@avdept avdept added the bug Something isn't working label Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
@avdept and others