You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my application, I have 2 separate packages. One of the packages has to use socket_io_client 1.0.2 to communicate with V2 Socket.IO servers, the other one has to use socket_io_client 2.0.3+1 to communicate with a V3 Socket.IO server.
When I run pub get from the main application's pubspec.yaml, I get the following dependency error:
Because every version of package_which_uses_socket_io_client 2.0.3+1 from path depends on socket_io_client 2.0.3 and every version of package_which_uses_socket_io_client 1.0.2 from path depends on socket_io_client 1.0.2, package_which_uses_socket_io_client 2.0.3+1 from path is incompatible with package_which_uses_socket_io_client 1.0.2 from path.
So, because app_name depends on both package_which_uses_socket_io_client 1.0.2 from path and package_which_uses_socket_io_client 2.0.3+1 from path, version solving failed.
Is there any way to support both V2 & V3 socket communication?
The text was updated successfully, but these errors were encountered:
Hi!
In my application, I have 2 separate packages. One of the packages has to use socket_io_client 1.0.2 to communicate with V2 Socket.IO servers, the other one has to use socket_io_client 2.0.3+1 to communicate with a V3 Socket.IO server.
When I run pub get from the main application's pubspec.yaml, I get the following dependency error:
Because every version of package_which_uses_socket_io_client 2.0.3+1 from path depends on socket_io_client 2.0.3 and every version of package_which_uses_socket_io_client 1.0.2 from path depends on socket_io_client 1.0.2, package_which_uses_socket_io_client 2.0.3+1 from path is incompatible with package_which_uses_socket_io_client 1.0.2 from path.
So, because app_name depends on both package_which_uses_socket_io_client 1.0.2 from path and package_which_uses_socket_io_client 2.0.3+1 from path, version solving failed.
Is there any way to support both V2 & V3 socket communication?
The text was updated successfully, but these errors were encountered: