-
-
Notifications
You must be signed in to change notification settings - Fork 623
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 Issue with latest flutter SDK and Connectivity Plus #1432
Comments
we may release a new version to fix this problem? I think this patch #1428 fix your problem |
@vincenzopalazzo How can we install the graphql_flutter package to our project? The stable version is not being installed because of an error and with this commit how to install the package? |
Idk I should google it. But I can make a new beta release also for fixing your problem |
@gaurav-webbytroops graphql_flutter:
git:
url: https://github.com/zino-hofmann/graphql-flutter.git
ref: c0621ccad047d3ec94565f92406ebeda394dbd4c
path: packages/graphql_flutter |
@vincenzopalazzo That would be awesome! Although we can depend on the commit from #1428 , it's easier for folks who rely on Renovate/Dependabot for upgrades to stay on official releases, even if it's a beta. |
@johnmartel it is coming! |
I tried to install the package but it is throwing error with recent flutter SDK version and Connectivity_plus package.
I get Following error in console:
`The current Dart SDK version is 3.4.1.
(1) So, because graphql_flutter >=5.2.0-beta.3 <5.2.0-beta.4 depends on connectivity_plus ^3.0.0 and graphql_flutter
>=5.2.0-beta.2 <5.2.0-beta.3 requires SDK version >=2.12.0 <=3.0.0, graphql_flutter <5.0.0-beta.1 or >=5.0.0-nullsafety.5
requires graphql >=5.0.0-nullsafety.5 <5.2.0-beta.2 or connectivity_plus ^1.0.1 or ^2.0.3 or >=3.0.0 <4.0.0 or ^4.0.0 or
^5.0.0 or http ^0.11.0.
(2) So, because graphql_flutter >=5.0.0-nullsafety.1 <5.0.0-nullsafety.2 depends on graphql 5.0.0-nullsafety.1,
graphql_flutter >=5.0.0-beta.1 <5.0.0-nullsafety.2 requires graphql >=5.0.0-beta.1 <5.2.0-beta.2.
The lower bound of "sdk: '>=1.19.0 <2.0.0'" must be 2.12.0 or higher to enable null safety.
For details, see https://dart.dev/null-safety
The lower bound of "sdk: '>=2.0.0-dev.52.0 <3.0.0'" must be 2.12.0 or higher to enable null safety.
For details, see https://dart.dev/null-safety
You can try the following suggestion to make the pubspec resolve:
The text was updated successfully, but these errors were encountered: