jiffy icon indicating copy to clipboard operation
jiffy copied to clipboard

Because jiffy >=6.2.2 depends on intl ^0.19.0 and every version of flutter_localizations from sdk depends on intl 0.18.1

Open laterdayi opened this issue 11 months ago • 3 comments

Because jiffy >=6.2.2 depends on intl ^0.19.0 and every version of flutter_localizations from sdk depends on intl 0.18.1

laterdayi avatar Mar 08 '24 01:03 laterdayi

Sorry but i dont understand your issue, could you please elaborate

jama5262 avatar Mar 08 '24 05:03 jama5262

When using jiffy, he suggested that jiffy intl would conflict with flutter_localizations intl

laterdayi avatar Mar 08 '24 06:03 laterdayi

If i understand you right, you are using flutter_localizations that depends on 0.18.1,

You can try to use dependency_overrides in your pubspec.yaml file, like so

dependency_overrides:
  intl: ^0.18.1

Can you try the above and tell me if it works

jama5262 avatar Mar 11 '24 06:03 jama5262

If the above did not work for you, please feel free to reopen this issue

jama5262 avatar Mar 26 '24 14:03 jama5262

@jama5262 intl: ^0.18.1

Resolving dependencies... Because depends on jiffy ^6.3.0 which depends on intl ^0.19.0, intl ^0.19.0 is required. So, because zhuoshengwei_mobile depends on intl ^0.18.1, version solving failed.

You can try the following suggestion to make the pubspec resolve:

  • Consider downgrading your constraint on jiffy: flutter pub add jiffy:^6.2.1
    PS E:\projects>

laterdayi avatar Apr 02 '24 01:04 laterdayi

The problem still exists

laterdayi avatar Apr 02 '24 01:04 laterdayi