appflowy-editor icon indicating copy to clipboard operation
appflowy-editor copied to clipboard

[Bug] file_picker upgrade to 9.2.0

Open lucasjinreal opened this issue 1 year ago • 2 comments

Bug Description

Lower version does not work anymore

How to Reproduce

fregf

Expected Behavior

rgteasg

Operating System

macos

AppFlowy Editor Version(s)

5.2.0

Screenshots

No response

Additional Context

No response

lucasjinreal avatar Apr 19 '25 01:04 lucasjinreal

@LucasXu0 Please consider updating to the latest version of file_picker, because it fixes a lot of critical bugs, and currently it impossible to use new version with appflowy_editor.

flutter pub get --no-example
Resolving dependencies...
Because appflowy_editor 5.2.0 depends on file_picker ^8.0.2 and no versions of appflowy_editor match >5.2.0 <6.0.0, appflowy_editor ^5.2.0 requires file_picker ^8.0.2.
So, because minimal_journal depends on both appflowy_editor ^5.2.0 and file_picker ^10.1.8, version solving failed.


You can try one of the following suggestions to make the pubspec resolve:
* Consider downgrading your constraint on appflowy_editor: flutter pub add appflowy_editor:^0.1.12
* Consider downgrading your constraint on file_picker: flutter pub add file_picker:^8.3.7
Failed to update packages.
exit code 1

Adel0n avatar May 12 '25 18:05 Adel0n

You can use dependency override in case the APIs in file_picker didn't change.

Xazin avatar May 15 '25 20:05 Xazin