tmail-flutter icon indicating copy to clipboard operation
tmail-flutter copied to clipboard

I can't compile on flutter version 3.32.6

Open insinfo opened this issue 6 months ago • 3 comments

Description

It is not possible to compile the project with Flutter 3.32.6 due to a version conflict with the collection package.

Expected result

The project should build successfully using flutter build web on Flutter 3.32.6, as it did on previous Flutter versions.

Current behavior

Running flutter pub get or flutter build web fails with:

Note: collection is pinned to version 1.19.1 by flutter_test from the flutter SDK. Because every version of flutter_test from sdk depends on collection 1.19.1 and tmail_ui_user depends on collection 1.18.0, flutter_test from sdk is forbidden. So, because tmail_ui_user depends on flutter_test from sdk, version solving failed. Failed to update packages.

Preconditions

  • Flutter 3.32.6 (stable channel)
  • Dart SDK 3.8.1
  • Windows 10 or 11 environment

Reproduction Steps

  1. Clone the tmail-flutter repository at the affected tag/branch.
  2. Run flutter pub get.
  3. Observe the dependency resolution error.
  4. Run flutter build web and observe the same error.

Acceptance Criteria

  • [ ] Resolve the collection version conflict so that the project builds on Flutter 3.32.6.
  • [ ] Document the minimum Flutter version that successfully builds after the fix.
  • [ ] Verify that both flutter pub get and flutter build web complete without errors.

Context

  • Device/OS: Windows 10/11
  • Flutter channel: stable 3.32.6
  • Dart SDK: 3.8.1

Additional Information

  • Frequency: Occurs every time flutter pub get or flutter build web is run on Flutter 3.32.6.
  • Full logs are included in the reproduction steps above.

Question

  • Which Flutter version can successfully build this project without dependency conflicts?

insinfo avatar Jul 11 '25 01:07 insinfo

interesting series if compiled versions were made available for download

insinfo avatar Jul 11 '25 02:07 insinfo

Hi @insinfo We now support flutter version 3.32.8 on the master branch. You can now pull the latest master and use it. If you need details about this upgrade, please see the PR https://github.com/linagora/tmail-flutter/pull/4059. Thanks

dab246 avatar Oct 17 '25 08:10 dab246

Thank you for your excellent work as soon as I have time I will try to compile this new version

insinfo avatar Oct 17 '25 15:10 insinfo