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

package:web conflict when using both reown_walletkit and flutter_inappwebview #27

Open
AlexV525 opened this issue Oct 23, 2024 · 3 comments
Assignees
Labels
dependencies Pull requests that update a dependency file

Comments

@AlexV525
Copy link
Contributor

Describe the bug

Because every version of flutter_inappwebview from git depends on flutter_inappwebview_web ^1.1.2 which depends on web ^1.0.0, every version of flutter_inappwebview from git requires web ^1.0.0.
And because web_socket_channel 2.4.5 depends on web ^0.5.0, flutter_inappwebview from git is incompatible with web_socket_channel 2.4.5.
And because no versions of web_socket_channel match >2.4.5 <3.0.0 and reown_core 1.0.2 depends on web_socket_channel ^2.4.5, flutter_inappwebview from git is incompatible with reown_core 1.0.2.
Because reown_walletkit 1.0.2 depends on reown_core ^1.0.2 and no versions of reown_core match >1.0.2 <2.0.0, reown_walletkit 1.0.2 requires reown_core 1.0.2.
Thus, flutter_inappwebview from git is incompatible with reown_walletkit 1.0.2.
So, because flutter_project depends on both reown_walletkit 1.0.2 and flutter_inappwebview from git, version solving failed.

To Reproduce

dependencies:
  flutter_inappwebview: ^6.1.0
  reown_walletkit: ^1.0.2

Additional context

[✓] Flutter (Channel stable, 3.24.3, on macOS 14.7 23H124 darwin-arm64 (Rosetta), locale en-US)
@quetool
Copy link
Member

quetool commented Oct 29, 2024

Thanks @AlexV525! I will be taking a look ASAP!

@quetool quetool self-assigned this Oct 29, 2024
@quetool quetool added the dependencies Pull requests that update a dependency file label Oct 29, 2024
@tungakanui
Copy link

tungakanui commented Nov 1, 2024

I have a similar issue, but with the firebase
Because firebase_core >=3.5.0 depends on firebase_core_web ^2.18.1 which depends on web ^1.0.0, firebase_core >=3.5.0 requires web ^1.0.0. (1) So, because web_socket_channel >=2.4.4 <3.0.1 depends on web ^0.5.0, firebase_core >=3.5.0 is incompatible with web_socket_channel >=2.4.4 <3.0.1. Because reown_appkit >=1.2.0-alpha01 depends on reown_core ^1.0.2 and reown_appkit >=1.1.0-beta01 <1.2.0-alpha01 depends on reown_core ^1.0.1, reown_appkit >=1.1.0-beta01 requires reown_core ^1.0.1. And because reown_appkit <1.1.0-beta01 depends on reown_core ^1.0.0, every version of reown_appkit requires reown_core ^1.0.0. And because reown_core <1.0.1 depends on web_socket_channel ^2.4.4 and reown_core >=1.0.1 depends on web_socket_channel ^2.4.5, every version of reown_appkit requires web_socket_channel ^2.4.4. And because firebase_core >=3.5.0 is incompatible with web_socket_channel >=2.4.4 <3.0.1 (1), firebase_core >=3.5.0 is incompatible with reown_appkit. So, because stuntland depends on both firebase_core ^3.6.0 and reown_appkit any, version solving failed.

@ToanBarcelona1998
Copy link

Try downgrading the version of the webview package. This seems to be a common problem when you work with Flutter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

4 participants