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

TypeError exception thrown when picking many files on iOS #1677

Open
1 of 4 tasks
kamil-plentific opened this issue Jan 10, 2025 · 0 comments
Open
1 of 4 tasks

TypeError exception thrown when picking many files on iOS #1677

kamil-plentific opened this issue Jan 10, 2025 · 0 comments
Labels
new issue An issue that hasn't yet been seen from the maintainer

Comments

@kamil-plentific
Copy link

kamil-plentific commented Jan 10, 2025

We noticed that picking many files (+100 files, photos and videos) in one go causes TypeError in file_picker_io.dart.

Platform

  • Android
  • iOS
  • Web
  • Desktop

Platform OS version
What version did it happen?
iOS, we tried on different versions of OS and the result was the same

Details to reproduce the issue

  • Choose many files in one go (+100 files)
  • Use different types of files: images, videos, documents
  • You can see the type error log when confirmed
  • It is not visible to the end user

Error Log

TypeError: type '_Map<Object?, Object?>' is not a subtype of type 'bool' in type cast File "file_picker_io.dart", line 96, in FilePickerIO._getPath.<T> (data) => onFileLoading((data as bool) File "zone.dart", line 1609, in RootZone.runUnaryGuarded File "stream_impl.dart", line 366, in BufferingStreamSubscription._sendData File "stream_impl.dart", line 542, in DelayedData.perform File "stream_impl.dart", line 647, in PendingEvents.handleNext ... (4 additional frame(s) were not displayed)

Flutter Version details
3.24.0

@kamil-plentific kamil-plentific added the new issue An issue that hasn't yet been seen from the maintainer label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new issue An issue that hasn't yet been seen from the maintainer
Projects
None yet
Development

No branches or pull requests

1 participant