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

flutter_unity_widget >=2022.1.0 depends on webviewx ^0.2.1 which depends on webview_flutter ^2.0.13 #615

Closed
sayhellotogithub opened this issue Jun 10, 2022 · 4 comments

Comments

@sayhellotogithub
Copy link

Describe the bug
Because flutter_unity_widget >=2022.1.0 depends on webviewx ^0.2.1 which depends on webview_flutter ^2.0.13, flutter_unity_widget >=2022.1.0 requires webview_flutter ^2.0.13.
So, because *** depends on both webview_flutter ^3.0.1 and flutter_unity_widget ^2022.1.1+3, version solving failed.

To Reproduce
flutter pub upgrade

Expected behavior
we can use webview_flutter ^3.0.1

@Ahmadre
Copy link
Collaborator

Ahmadre commented Jun 11, 2022

Use dependency-overrides. This is not an issue with this Plugin.

@jamesncl
Copy link

Agreed, this isn't a bug in the package but I think still a valid request. Using dependency-overrides can lead to unexpected behaviour, and webview_flutter ^2.0.13 is quite an old version. Looking at the changelog, most changes seem to be quite minor, except for a breaking change in 3.0.0:

BREAKING CHANGE: On Android, hybrid composition (SurfaceAndroidWebView) is now the default. The previous default, virtual display, can be specified with WebView.platform = AndroidWebView()

@Ahmadre
Copy link
Collaborator

Ahmadre commented Jul 2, 2022

please consider using our latest version. Web is now stable.

@sayhellotogithub
Copy link
Author

ok,Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants