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

[BUG] The method 'setMockMessageHandler' isn't defined for the class 'BasicMessageChannel<dynamic>' #844

Closed
oandreyev opened this issue Sep 14, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@oandreyev
Copy link
Contributor

Describe the bug:
The app uses flutter_html 2.0.0. After upgrade to Flutter 2.5 the error happens at build time. The source of the error is wakelock_platform_interface that is dependency of chewie and outdated.

Workaround is

dependency_overrides:
  chewie: ^1.2.0

but, definitely, you better increase lower version boundary of this dependency.

@oandreyev oandreyev added the bug Something isn't working label Sep 14, 2021
@erickok
Copy link
Collaborator

erickok commented Sep 15, 2021

Yes. Would be great if you can create a pr that bumps chewie to 1.2.2.

@luckv
Copy link

luckv commented Sep 16, 2021

I had the same error for the package video_player_platform_interface, wich is a dependency of video_player. The video_player package is a dependency of both this library and chewie. May be upgrading chewie, that package also get upgraded to a compatible version.

@oandreyev
Copy link
Contributor Author

@erickok Could you review the PR?

@erickok erickok closed this as completed Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants