xclud/web3dart

Version incompatibility

yevhen-samoilov opened this issue · 3 comments

Because no versions of web3dart match >2.6.1 <3.0.0 and web3dart 2.6.1 depends on stream_channel ^2.1.1, web3dart ^2.6.1 requires stream_channel ^2.1.1.
And because every version of flutter_test from sdk depends on stream_channel 2.1.0, web3dart ^2.6.1 is incompatible with flutter_test from sdk.
And because firebase_analytics >=10.0.3 depends on firebase_core_platform_interface ^4.5.2 which depends on flutter_test from sdk, web3dart ^2.6.1 is incompatible with firebase_analytics >=10.0.3.
So, because shell_game_nft depends on both firebase_analytics ^10.1.0 and web3dart ^2.6.1, version solving failed.
pub get failed (1; So, because shell_game_nft depends on both firebase_analytics ^10.1.0 and web3dart ^2.6.1, version solving failed.)
exit code 1

Because every version of flutter_test from sdk depends on stream_channel 2.1.0 and web3dart >=2.5.2 depends on stream_channel ^2.1.1, flutter_test from sdk is incompatible with web3dart >=2.5.2.

same here
flutter_test && integration_test depends on stream_channel 2.1.0

A temporary fix, just override the stream channel package on pubspec.yaml.
E.g
override_dependencies: stream_channel: ^2.1.0

@moesaid no such issue in https://github.com/devopsdao/webthree a fork of web3dart 2.3.5