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

Because every version of screen_recorder depends on image ^3.0.2 #39

Open
SittiphanSittisak opened this issue Aug 18, 2023 · 2 comments · May be fixed by #42
Open

Because every version of screen_recorder depends on image ^3.0.2 #39

SittiphanSittisak opened this issue Aug 18, 2023 · 2 comments · May be fixed by #42

Comments

@SittiphanSittisak
Copy link

I must use the latest version of the image package.
Can you update this package to use the image package with the newest version?

@martijn00
Copy link
Member

Can you make a PR to update this?

@SittiphanSittisak
Copy link
Author

SittiphanSittisak commented Aug 19, 2023

Hi, I don't have experience with this.

This is my error when importing screen_recorder with image packages.

Because every version of screen_recorder depends on image ^3.0.2 and flutter_test_recording depends on image ^4.0.17, screen_recorder is forbidden.
So, because flutter_test_recording depends on screen_recorder ^0.2.0, version solving failed.

PS. Many packages are using the image package with the new version. So, It will show this error with many packages.

Because no versions of flutter_meedu_videoplayer match >4.2.25 <5.0.0 and flutter_meedu_videoplayer >=4.2.23 <4.2.25 depends on video_player_media_kit ^0.0.23, flutter_meedu_videoplayer >=4.2.23 <4.2.25-∞ or >4.2.25 <5.0.0 requires video_player_media_kit ^0.0.23.
And because video_player_media_kit >=0.0.23 <0.0.24 depends on media_kit ^1.1.2 and video_player_media_kit >=0.0.24 <0.0.25 depends on media_kit ^1.1.4, flutter_meedu_videoplayer >=4.2.23 <4.2.25-∞ or >4.2.25 <5.0.0 requires media_kit ^1.1.2 or video_player_media_kit ^0.0.25.
And because media_kit >=1.1.0 depends on image ^4.0.17 and flutter_meedu_videoplayer 4.2.25 depends on video_player_media_kit ^0.0.25, flutter_meedu_videoplayer ^4.2.23 requires video_player_media_kit ^0.0.25 or image ^4.0.17.
And because no versions of video_player_media_kit match >0.0.25 <0.1.0 and video_player_media_kit 0.0.25 depends on media_kit 1.1.2+1, flutter_meedu_videoplayer ^4.2.23 requires image ^4.0.17 or media_kit 1.1.2+1.
And because media_kit 1.1.2+1 depends on image ^4.0.17 and every version of screen_recorder depends on image ^3.0.2, screen_recorder is incompatible with flutter_meedu_videoplayer ^4.2.23.
So, because flutter_test_recording depends on both flutter_meedu_videoplayer ^4.2.24 and screen_recorder ^0.2.0, version solving failed.

I think downgrading the version of many packages is not the answer.

@fotiDim fotiDim linked a pull request Feb 25, 2024 that will close this issue
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants