audio_service icon indicating copy to clipboard operation
audio_service copied to clipboard

Version solving faliled with flutter_cache_manager and http

Open mklepaczko opened this issue 2 years ago • 3 comments

Minimal reproduction project

Official example: main.dart

Build command

flutter pub get

Build error

Resolving dependencies...
Because no versions of audio_service match >0.18.10 <0.19.0 and audio_service 0.18.10 depends on flutter_cache_manager ^3.0.1, audio_service ^0.18.10 requires flutter_cache_manager ^3.0.1.
And because flutter_cache_manager >=3.0.0-nullsafety.0 depends on http ^0.13.0, audio_service ^0.18.10 requires http ^0.13.0.
So, because dhunter_audiobook depends on both audio_service ^0.18.10 and http ^1.0.0, version solving failed.
exit code 1

Comments

Not citical yet but should be updated to use latest http package. But it seems that flutter_cache_manager has not been updated since 18 months

Output of flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.5, on macOS 13.4 22F66 darwin-arm64, locale pl-PL)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.79.2)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

mklepaczko avatar Jun 21 '23 12:06 mklepaczko

Relevant issue: https://github.com/Baseflow/flutter_cache_manager/issues/413

ryanheise avatar Jun 21 '23 12:06 ryanheise

PR: https://github.com/Baseflow/flutter_cache_manager/pull/414

ryanheise avatar Jun 21 '23 13:06 ryanheise

flutter_cache_manager has made a new release that should solve the constraint issue. Let me know if you still have any issue, otherwise we can close this issue.

ryanheise avatar Jul 03 '23 09:07 ryanheise