Closed matszafraniec closed 4 months ago
Interesting.
I don't use Get but let me see if I can fix that error with a workaround on my side.
Hi, I can't reproduce this with the latest package version.
What's the clash you're getting in the latest version, maybe I can help you fix that so you can use the latest version.
Thanks for your support. When I'm trying to upgrade testsweets to the latest version I have a conflict with one of my package responsible for handling payments. It is related to http package.
Below you can find error log:
Because testsweets >=1.8.9 depends on http ^1.1.0 and [my_payments_package] 2.1.20 depends on http ^0.13.1, testsweets >=1.8.9 is incompatible with [my_payments_package] 2.1.20.
And because no versions of [my_payments_package] match >2.1.20 <3.0.0, testsweets >=1.8.9 is incompatible with [my_payments_package] ^2.1.20.
So, because [my_app] depends on both [my_payments_package] ^2.1.20 and testsweets ^1.14.0, version solving failed.
You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on testsweets: flutter pub add testsweets:^1.5.2
Mmmmmm, I see.
Can you try to add the following to your pubspec file
dependency_overrides:
http: 0.13.1
Ensure that the spacing infront of http
is a tab since it'll be 2 spaces when you copy from here.
Yep. It is working now, thank you!
Hi,
I've tried to use testsweets package ver. 1.5.2 (can't update it to the latest due to packages dependency issue).
Here is my App class:
When compiling, I'm getting an error as presented below (Android build):
My configuration: