Open m-haisham opened 4 months ago
Duplicated of #962
The current constraint ^1.0.0
of this package allows you to use the latest chewie@1.8.1
. If your app is stuck with chewie@1.0.0
, it probably has some conflict with other dependencies. Try putting chewy: ^1.8.1
directly in pubspec to identify the conflict.
That's weird! I tried add chewie: ^1.8.1 as an app dependency, no conflict appear. So, flutter doesn't use the latest version of the package for some unknown reasons.
That's indeed weird. Normally it will pick the most recent version that satisfies all version constraints.
As of writing this issue the latest chewie version is 1.8.1. The package is still using 1.0.0.
https://github.com/daohoangson/flutter_widget_from_html/blob/4671004bd1634535210122c3cbd24589a4cad92d/packages/fwfh_chewie/pubspec.yaml#L11
chewie as of v1.6.0 now relies on wakelock_plus, the flutter community maintained version of deprecated wakelock package. relying on wakelock can cause dependency conflicts due to it being unmaintained.
For reference: https://github.com/fluttercommunity/chewie/issues/722