Skip to content

latest file_picker (10.3.3) gives error in web app on macos chrome in production mode. #1904

@shpp-vprihozhenko

Description

@shpp-vprihozhenko

It crashes on start. Dialog window is not shown. In debug mode all is fine. After downgrade to 9.2.3 - all is working fine in production too.

Platform

  • Web

Platform OS version
macos tahoe 26.0.1 + chrome version 141.0.7390.66

How are you picking?

    final result = await FilePicker.platform.pickFiles();

Error Log
(main.dart.js:5667 Uncaught Error at Object.i (main.dart.js:3342:20) at QL.bE (main.dart.js:35719:21) at Object.aLs (main.dart.js:26376:20) at Object.aLt (main.dart.js:26377:16) at main.dart.js:79873:14 at au2.a (main.dart.js:4669:63) at au2.$2 (main.dart.js:35987:14) at Object.S (main.dart.js:4655:10) at Do.yQ (main.dart.js:79875:10) at tear_off. (main.dart.js:3493:79))

Flutter Version details
Flutter (Channel stable, 3.35.6, on macOS 26.0.1 25A362 darwin-arm64, locale en-GB)

Metadata

Metadata

Assignees

No one assigned

    Labels

    new issueAn issue that hasn't yet been seen from the maintainer

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions