Closed pedrostick3 closed 1 year ago
will review our dependencies and update them to the latest versions if it is possible according to the compatibility with other dependencies
I have the same issue. So I'm basically stuck
@pedrostick3 @lordlamee new version 2.5.4 contains possible updates for dependencies our SDK depends on. Please close the ticket if your issue was resolved.
@TatankaConCube thanks for your fast response. This is a pretty weird issue that should ideally be resolved on the sdk. It seems flutter_localization requests to depend on intl: ^0.18.0 as opposed to ^0.18.1 thus the problem persists.
@lordlamee do you offer to downgrade from ^0.18.1 to ^0.18.0? sorry but we will not do this, try to override this dependency in your project using:
dependency_overrides:
intl: ^0.18.0
Well I just learned something. Thank you!. That works
Hello, when i try with intl: 0.18.0
this error appears:
Because connectycube_sdk >=2.5.4 depends on intl ^0.18.1 and "MyProjectName" depends on intl 0.18.0, connectycube_sdk >=2.5.4 is forbidden.
So, because "MyProjectName" depends on connectycube_sdk ^2.5.5, version solving failed.
When i try with intl: ^0.18.0
this error appears:
Because connectycube_sdk >=2.5.4 depends on intl ^0.18.1 and every version of flutter_localizations from sdk depends on intl 0.18.0, connectycube_sdk >=2.5.4 is incompatible with flutter_localizations from sdk.
So, because planet_agora depends on both flutter_localizations from sdk and connectycube_sdk ^2.5.5, version solving failed.
I think that downgrading intl: ^0.18.1
to intl: ^0.18.0
on connectycube_sdk
is the best choice since is the only package that appears with this error. And thats great too because Flutter will handle and upgrade the minor version of intl in connectycube_sdk
if necessary.
(btw, i'm stuck and i cannot run my app since pubspec dependencies does not load properly just because of this error)
@pedrostick3 please use the solution from this comment
Sorry, I missed that override part. Now I've tested and it works. Thanks for that solution. :)
Platform (use [x]) [] Android [x] iOS [] macOS [] Windows [] Web
Device info Manufacture: Apple inc. Model: iPhone X OS version: 16.4.1
Describe the bug: Running
flutter pub get
do not work becauseconnectycube_sdk
needsintl: ^0.18.0
.Steps to Reproduce:
flutter pub get
Because connectycube_sdk >=2.0.0-nullsafety.1 depends on intl ^0.17.0 and planet_agora depends on intl ^0.18.0, connectycube_sdk >=2.0.0-nullsafety.1 is forbidden.
Logs:
Actual result: Can't build APP since I can't load dependencies.
Expected behavior: Build APP normally.