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

Dependency conflict: rive and share_plus #415

Closed
eli1stark opened this issue Aug 27, 2024 · 2 comments
Closed

Dependency conflict: rive and share_plus #415

eli1stark opened this issue Aug 27, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@eli1stark
Copy link

Problem Description

There is currently a dependency conflict between rive and share_plus packages due to incompatible versions of the web package.

The error message when trying to resolve dependencies is as follows:

Resolving dependencies...
Because rive 0.13.12 depends on rive_common 0.4.10 which depends on web ^0.5.1, rive 0.13.12 requires web ^0.5.1.
And because share_plus >=10.0.1 depends on web ^1.0.0, rive 0.13.12 is incompatible with share_plus >=10.0.1.
So, because offsuit depends on both share_plus 10.0.2 and rive 0.13.12, version solving failed.

This conflict prevents developers from using both rive and share_plus in the same project, which limits the functionality available to Flutter applications.

Current Versions

  • rive: 0.13.12
  • share_plus: 10.0.2
  • web (required by rive): ^0.5.1
  • web (required by share_plus): ^1.0.0

Possible Solutions

  1. Update rive_common dependency:
    Update the rive_common package to use web ^1.0.0 instead of web ^0.5.1. This would allow rive to be compatible with the newer version of web used by share_plus.

  2. Create a new release of rive:
    Release a new version of rive that depends on an updated version of rive_common which is compatible with web ^1.0.0.

  3. Loosen web package constraints:
    If possible, loosen the constraints on the web package in rive_common to allow for a wider range of versions, including both ^0.5.1 and ^1.0.0.

Impact

This issue affects developers who want to use both Rive animations and the sharing functionality provided by share_plus in their Flutter applications. Resolving this conflict would greatly improve the developer experience and allow for more feature-rich applications.

Additional Information

  • Flutter version: [3.24.1 ]
  • Dart version: [3.5.1]

Thank you for your attention to this matter. We appreciate your work on the Rive package and look forward to a resolution that allows for better compatibility with other popular Flutter packages.

@eli1stark eli1stark added the bug Something isn't working label Aug 27, 2024
@eli1stark
Copy link
Author

@HayesGordon #413

@HayesGordon
Copy link
Contributor

This should now be resolved in v0.13.13

We've increased the dependency range.

Please reopen if you're still experiencing issues after upgrading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants