felangel / web_socket_client

A simple WebSocket client for Dart which includes automatic reconnection logic.
https://pub.dev/packages/web_socket_client
MIT License
150 stars 32 forks source link

fix: web package dependency #47

Closed wkok closed 4 months ago

wkok commented 4 months ago

Description

Since v0.1.1 package web_socket_client is not compatible with package_info_plus anymore.

Is it possible to bump the dependency on package web higher as this might resolve this issue?

Dependency resolution output


Resolving dependencies... 
Because web_socket_client >=0.1.1 depends on web ^0.4.0 and package_info_plus 6.0.0 depends on web >=0.5.0 <=0.6.0,
  web_socket_client >=0.1.1 is incompatible with package_info_plus 6.0.0.
And because no versions of package_info_plus match >6.0.0 <7.0.0, web_socket_client >=0.1.1 is incompatible with
  package_info_plus ^6.0.0.
So, because buzz depends on both package_info_plus ^6.0.0 and web_socket_client ^0.1.1, version solving failed.

You can try one of the following suggestions to make the pubspec resolve:
* Consider downgrading your constraint on web_socket_client: flutter pub add web_socket_client:^0.1.0
* Consider downgrading your constraint on package_info_plus: flutter pub add package_info_plus:^5.0.1
felangel commented 4 months ago

This has been addressed in #44