easy_localization icon indicating copy to clipboard operation
easy_localization copied to clipboard

Stick to Intl: 0.19.0 due to Flutter_locaization

Open securexperts opened this issue 9 months ago • 6 comments

Hello Dev Team,

First I must say, that you do a great job and I appreciate your plugin and your work.

Each Time Flutter updates its intl we stick a long time to the intl 0.19.0 due the fact that easy_localization references to flutter_localization, which is not compatible with the intl 0.19.0 for a long time and gets updated late after its release.

Would it be possible that the easy_localizaiton plugin does not anymore needs flutter_localization and works without its reference and be able to be upgraded independently?

Many Thanks for your thoughts

Roman

securexperts avatar Feb 23 '25 08:02 securexperts

Again I have issue with this as easy_locatilzation use pinned version 0.19 and awesome_notifications require 0.20 so I can't update.

Mistic92 avatar Mar 11 '25 13:03 Mistic92

Hello Team,

I’m currently facing a version conflict issue between easy_localization and awesome_notifications. I’m using a pinned version easy_localization: ^0.19.0, but awesome_notifications requires easy_localization >=0.20.0. Due to this, I’m unable to update without breaking compatibility.

I’m in a situation where I either have to drop one of the plugins and lose important features or find a workaround. I’ve already tried various solutions, including consulting ChatGPT, but haven’t been able to resolve it.

A fix or suggestion from the team would be incredibly helpful for developers like me who rely on both plugins.

Thank you for your support!

ARanjithReddy306 avatar Apr 15 '25 12:04 ARanjithReddy306

@Mistic92 @ARanjithReddy306 @securexperts

If you want it to install regardless of the constraints (you obviously should test that things work as expected) you can just add the following into your project's pubspec.yaml:

dependencies:
  flutter:
    sdk: flutter
  # your dependencies
  easy_localization: ^3.0.7+1
dependency_overrides:
  intl: ^0.20.2

zeyus avatar May 12 '25 12:05 zeyus

Hi team, I want to use in intl: ^0.19.0 but I try to update to the latest version and still get error. Yes but the library I need use intl: ^0.19.0

Because easy_localization >=3.0.0-nullsafety depends on flutter_localizations from sdk which depends on intl 0.20.2, easy_localization >=3.0.0-nullsafety requires intl 0.20.2. So, because *** depends on both intl ^0.19.0 and easy_localization ^3.0.4, version solving failed. Failed to update packages.

Hoai-Phong avatar May 30 '25 03:05 Hoai-Phong

Use this

  easy_localization:
    git:
      url: https://github.com/aissat/easy_localization.git
      ref: develop

Mistic92 avatar May 30 '25 14:05 Mistic92

Seems like dependency updates are becoming a problem with this package. Seems to pin down dependency versions of packages that other packages depend on. Would be nice if this could be resolved in a new release of the package.

MatrixRave avatar Jun 03 '25 12:06 MatrixRave

fixed #765

aissat avatar Jul 24 '25 21:07 aissat