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

[Bug]: Update win32 to version 3.0 #1220

Closed
gabriel-cervantes opened this issue Oct 11, 2022 · 6 comments
Closed

[Bug]: Update win32 to version 3.0 #1220

gabriel-cervantes opened this issue Oct 11, 2022 · 6 comments
Labels
bug Something isn't working triage

Comments

@gabriel-cervantes
Copy link

gabriel-cervantes commented Oct 11, 2022

Platform

Windows

Plugin

share_plus

Version

5.0.0

Flutter SDK

3.3.4

Steps to reproduce

.

Code Sample

No response

Logs

Because no versions of share_plus match >5.0.0 <6.0.0 and share_plus 5.0.0 depends on share_plus_windows ^4.0.0, share_plus ^5.0.0 requires share_plus_windows ^4.0.0.
Because share_plus_windows 4.0.0 depends on win32 ^2.3.8 and no versions of share_plus_windows match >4.0.0 <5.0.0, share_plus_windows ^4.0.0 requires win32 ^2.3.8.
Thus, share_plus ^5.0.0 requires win32 ^2.3.8.

Flutter Doctor

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.3.4, on Microsoft Windows [versÆo 10.0.22621.521], locale pt-BR)
 Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.3.0)
[√] Android Studio (version 2021.2)
[√] VS Code (version 1.72.0)
[√] Connected device (3 available)
[√] HTTP Host Availability

• No issues found!
@gabriel-cervantes gabriel-cervantes added bug Something isn't working triage labels Oct 11, 2022
@alexmercerind
Copy link
Contributor

alexmercerind commented Oct 12, 2022

@gabriel-cervantes, you can add a dependency override in your pubspec.yaml for the time being.
Package is compatible with newer win32 versions, it's just that it hasn't been bumped.

dependencies:
  ...
  share_plus: ^5.0.0

dependency_overrides:
  win32: ^3.0.0

Thanks!

@tim-eucalyptus
Copy link

I also get this:

Because share_plus >=5.0.0 depends on share_plus_windows ^4.0.0 which depends on win32 ^2.3.8, share_plus >=5.0.0 requires win32 ^2.3.8.
And because file_picker 5.2.1 depends on win32 ^3.0.0 and no versions of file_picker match >5.2.1 <6.0.0, share_plus >=5.0.0 is incompatible with file_picker ^5.2.1.
So, because koala_wallet depends on both file_picker ^5.2.1 and share_plus ^5.0.0, version solving failed.

Please update: https://github.com/fluttercommunity/plus_plugins/blob/main/packages/share_plus/share_plus_windows/pubspec.yaml

@miquelbeltran
Copy link
Member

miquelbeltran commented Oct 12, 2022

Can you send a pull request? (there are some prizes: #1108)

@miquelbeltran
Copy link
Member

Should be fixed by #1214

@gabriel-cervantes
Copy link
Author

@miquelbeltran
Do you have any predictions on when it will be uploaded to pub.dev?

@miquelbeltran
Copy link
Member

miquelbeltran commented Oct 13, 2022

Probably in the upcoming days, after we finish some pending refactors.

You can use the package directly from the main branch if you need to.

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