Before creating an issue, make sure that you are on the latest file_picker version and that there aren't already any similar opened inssues. Also, check if it isn't described on the Wiki, specially on Troubleshooting page.
Also, sometimes a simple flutter clean and flutter build again with latest file_picker version, may end up by fixing cached issues, so I encourage you to first do so.
Describe the bug
This bug only occurs with a production build, not with flutter RUN. After building an exception is thrown when trying to open the file picker.
Platform
[ ] Android
[ ] iOS
[x ] Web
[ ] Desktop
Platform OS version
Windows 11, Newest google Chrome, newest flutter 3.22.0
Details to reproduce the issue
During debugging this works perfectly fine in the browser, however when building with the command:
flutter build web --web-renderer html --no-tree-shake-icons
it doesn't work, an unknown javascript exception is thrown.
Error Log
Please, post the full console log of your issue, if applicable.
Screenshots and/or video
Flutter Version details
3.22.0
Additional context
Add any other context about the problem here.
Before creating an issue, make sure that you are on the latest
file_picker
version and that there aren't already any similar opened inssues. Also, check if it isn't described on the Wiki, specially on Troubleshooting page.Also, sometimes a simple
flutter clean
andflutter build
again with latest file_picker version, may end up by fixing cached issues, so I encourage you to first do so.Describe the bug This bug only occurs with a production build, not with flutter RUN. After building an exception is thrown when trying to open the file picker.
Platform
Platform OS version Windows 11, Newest google Chrome, newest flutter 3.22.0
How are you picking?
Details to reproduce the issue During debugging this works perfectly fine in the browser, however when building with the command:
flutter build web --web-renderer html --no-tree-shake-icons
it doesn't work, an unknown javascript exception is thrown.Error Log Please, post the full console log of your issue, if applicable.
Screenshots and/or video
Flutter Version details 3.22.0
Additional context Add any other context about the problem here.