Baseflow / flutter_cache_manager

Generic cache manager for flutter
https://baseflow.com
MIT License
740 stars 429 forks source link

Dependency Incompaitbity #292

Closed omerasif57 closed 3 years ago

omerasif57 commented 3 years ago

💬 Questions and Help

I have two dependecies

flutter_cache_manager: ^2.1.1
flutter_native_splash: ^1.0.3

Pub get Error

Running "flutter pub get" in flutter_app...                     
Because flutter_native_splash >=1.0.1 depends on image ^3.0.1 and flutter_cache_manager 2.1.1 depends on image ^2.1.18, flutter_native_splash >=1.0.1 is incompatible with flutter_cache_manager 2.1.1.

And because no versions of flutter_cache_manager match >2.1.1 <3.0.0, flutter_native_splash >=1.0.1 is incompatible with flutter_cache_manager ^2.1.1.

So, because flutter_app depends on both flutter_cache_manager ^2.1.1 and flutter_native_splash ^1.0.3, version solving failed.
pub get failed (1; So, because flutter_app depends on both flutter_cache_manager ^2.1.1 and flutter_native_splash ^1.0.3, version solving failed.)
exit code 1

Please advise on how can I fix this issue.

peterbyCom commented 3 years ago

same.

omerasif57 commented 3 years ago

using flutter_native_splash: ^0.3.2 working fine for me for now.

renefloor commented 3 years ago

I'd guess this is fixed in flutter_cache_manager: ^3.0.0, otherwise please reopen the issue.