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

intl version mismatch #49

Closed
Chris1234567899 opened this issue Nov 28, 2020 · 3 comments
Closed

intl version mismatch #49

Chris1234567899 opened this issue Nov 28, 2020 · 3 comments

Comments

@Chris1234567899
Copy link

Chris1234567899 commented Nov 28, 2020

Trying to install it, I receive this error message:

Running "flutter pub get" in myApp...
Because every version of flutter_localizations from sdk depends on intl 0.17.0-nullsafety.2 and every version of awesome_notifications depends on intl ^0.16.1, flutter_localizations from sdk is incompatible with awesome_notifications. 

So, because myApp depends on both awesome_notifications ^0.0.5+2 and flutter_localizations any from sdk, version solving failed.
pub get failed

Looks like a version mismatch. A dependency update should do it.

flutter version:
Flutter (Channel master, 1.24.0-8.0.pre.374, on Microsoft Windows [Version 10.0.18363.1198], locale de-DE)

@Chris1234567899
Copy link
Author

A temporary fix might be putting:

dependency_overrides:
  intl: ^0.16.1

in the pubspec.yaml

Seems to work for now, but on the long run updating the package might be better.

@rafaelsetragni
Copy link
Owner

No, update the intl version inside awesome _notification. Always use the most updated plugin version.

Change it here:

intl: ^0.16.1

I gonna update it in next release. Thanks for advice.

@rafaelsetragni
Copy link
Owner

Sorry, but your intl version 0.17.0-null safety.2 does not seem to be a master version, so it was not able to update it in next release.
But you can change it to your local files, without any problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants