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

Web version not working #232

Closed
Megamil opened this issue Jan 12, 2023 · 1 comment
Closed

Web version not working #232

Megamil opened this issue Jan 12, 2023 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@Megamil
Copy link

Megamil commented Jan 12, 2023

Is your feature request related to a problem? Please describe.

Currently, my application is facing issues while downloading files in the web version. The "XMLHttpRequest error" is being displayed and I am unable to find a solution for this.

Describe the solution you'd like

I would like the file download functionality to be implemented in the web version of my application and for it to work in the same way as it does on the mobile version. Additionally, I would like an example of how to download files as the dart:io package is not supported on the web version.

Describe alternatives you've considered

I have considered using another package or library to handle file downloads, but I would like to maintain consistency with the mobile version.

How should this be implemented

One possible way to implement this functionality would be to use the dart:html package to make the download request and handle the file in the browser.

@Megamil Megamil added the enhancement New feature or request label Jan 12, 2023
@Hexer10
Copy link
Owner

Hexer10 commented Jan 12, 2023

Please check the pinned issue #119 , unfortunately this cannot be implemented in the library due the CORS.

@Hexer10 Hexer10 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 12, 2023
@Hexer10 Hexer10 added duplicate This issue or pull request already exists and removed enhancement New feature or request labels Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants