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

add flutter web support #31

Closed
teknolojia opened this issue Apr 25, 2020 · 4 comments
Closed

add flutter web support #31

teknolojia opened this issue Apr 25, 2020 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@teknolojia
Copy link

No description provided.

@jossef
Copy link
Owner

jossef commented Apr 26, 2020

Currently no.
Would you like to submit a PR to add flutter web support?

@jossef jossef added enhancement New feature or request help wanted Extra attention is needed labels May 23, 2020
@jossef jossef changed the title Does this support flutter web? add flutter web support May 23, 2020
@ianmaciel
Copy link
Contributor

What is missing for web support?

@sehnryr sehnryr self-assigned this Mar 23, 2022
@sehnryr sehnryr added bug Something isn't working wontfix This will not be worked on and removed enhancement New feature or request help wanted Extra attention is needed labels Mar 23, 2022
@sehnryr sehnryr removed their assignment Mar 23, 2022
@sehnryr
Copy link
Collaborator

sehnryr commented Mar 23, 2022

As said in https://api.dart.dev/stable/2.16.1/dart-io/dart-io-library.html, the dart:io library is not supported on web apps.

Important: Browser-based apps can't use this library. Only the following can import and use the dart:io library:

  • Servers
  • Command-line scripts
  • Flutter mobile apps
  • Flutter desktop apps

And since it a dependency of requests we cannot do much but wait until the dart team allows it.

And if dart does not support it, flutter will not either.

@sehnryr sehnryr self-assigned this May 10, 2022
@sehnryr
Copy link
Collaborator

sehnryr commented May 10, 2022

I'll try to remove the io dependency by replacing it with http which supports web applications.

@sehnryr sehnryr added enhancement New feature or request and removed bug Something isn't working wontfix This will not be worked on labels May 10, 2022
@sehnryr sehnryr closed this as completed May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants