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

pickFiles never resolves when passing allowMultiple and withReadStream together on web #843

Closed
1 task done
haradakunihiko opened this issue Oct 7, 2021 · 4 comments
Closed
1 task done
Labels
web Issue applies to Web platform

Comments

@haradakunihiko
Copy link

Describe the bug
On Web (Chrome browser), when I pass allowMultiple and withReadStream together, the Future never resolves. Is this a bug or designed?

Platform

  • Web

Platform OS version
chrome on mac OS 11.4

How are you picking?

print('start pick');
final result = await FilePicker.platform
    .pickFiles(allowMultiple: true, withReadStream: true);
print('this never called');

Flutter Version details
2.5.1

@haradakunihiko haradakunihiko added the new issue An issue that hasn't yet been seen from the maintainer label Oct 7, 2021
@miguelpruivo
Copy link
Owner

Could be a bug. Might have to look into it.

@miguelpruivo miguelpruivo added web Issue applies to Web platform and removed new issue An issue that hasn't yet been seen from the maintainer labels Oct 7, 2021
@zambetpentru
Copy link

Hi, I had a quick look and 4.1.0 is fine and I can see that it is broken in 4.1.1.

@JaviBonilla
Copy link

Hi, I have the same issue when allowMultiple and withReadStream are both enabled.

I tested on Chromium Version 94.0.4606.81 (Official Build) snap (64-bit) on Linux and up to version 3.0.4 is working, for 4.0.0 and above it is not.

@miguelpruivo
Copy link
Owner

Fixed with 4.1.5. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
web Issue applies to Web platform
Projects
None yet
Development

No branches or pull requests

4 participants