flyerhq / flutter_link_previewer

Customizable link and URL preview extracted from the provided text with the ability to render from the cache. Ideal for chat applications.
MIT License
72 stars 75 forks source link

Plugins need to be updated #8

Closed abdullah432 closed 3 years ago

abdullah432 commented 3 years ago

I'm getting this issue

Running "flutter pub get" in echata...                          
Because import_js_library 1.0.2 depends on html ^0.14.0+3 and no versions of import_js_library match >1.0.2 <2.0.0, import_js_library ^1.0.2 requires html ^0.14.0+3.

And because flutter_link_previewer >=0.2.0 depends on html ^0.15.0, flutter_link_previewer >=0.2.0 is incompatible with import_js_library ^1.0.2.
And because wakelock_web 0.1.0+3 depends on import_js_library ^1.0.2 and no versions of wakelock_web match >0.1.0+3 <0.2.0, flutter_link_previewer >=0.2.0 is incompatible with wakelock_web ^0.1.0+3.

And because wakelock 0.2.1+1 depends on wakelock_web ^0.1.0+3 and no versions of wakelock match >0.2.1+1 <0.3.0, flutter_link_previewer >=0.2.0 is incompatible with wakelock ^0.2.1+1.

And because chewie 0.12.2 depends on wakelock ^0.2.1+1 and no versions of chewie match >0.12.2 <0.13.0, flutter_link_previewer >=0.2.0 is incompatible with chewie ^0.12.2.
So, because echata depends on both chewie ^0.12.2 and flutter_link_previewer ^1.0.5, version solving failed.
pub get failed (1; So, because echata depends on both chewie ^0.12.2 and flutter_link_previewer ^1.0.5, version solving failed.)
exit code 1
demchenkoalex commented 3 years ago

Hi @abdullah432 this message shows exactly what's the problem - you use import_js_library package which depends on old html package version. Our libraries support Flutter 2 and null safety so we can't downgrade, you need to remove this dependency in order to use this library, or wait for the import_js_library maintainers to migrate to null safety.