vukoye / xmpp_dart

Lightweight XMPP client library written in Dart
Apache License 2.0
83 stars 64 forks source link

intl to any #44

Open ghenry opened 3 years ago

ghenry commented 3 years ago

Could you switch the intl requirement to any:

flutter : Because every version of xmpp_stone from git depends on intl ^0.16.1 and every version of flutter_localizations from sdk depends 
on intl 0.17.0-nullsafety.2, xmpp_stone from git is incompatible with flutter_localizations from sdk.
ghenry commented 3 years ago

Running on dev channel testing Windows Desktop building.

vukoye commented 3 years ago

Looks like a not so rare issue with flutter these days. Can you please try to apply this workaround for time being? https://github.com/flutter/flutter/issues/70433

ghenry commented 3 years ago

I ended up doing this last night:

dependency_overrides:
  intl: '>=0.17.0-nullsafety.2 <= 0.17.0-nullsafety.2'
ghenry commented 3 years ago

And switching to this:

dependencies:
  intl: any
  intl_translation: any
ghenry commented 3 years ago

Back on this again now Flutter 2 is out :-(

Because every version of xmpp_stone from git depends on intl ^0.16.1 and SureVoIPTalk depends on intl ^0.17.0, xmpp_stone from git is forbidden.
So, because SureVoIPTalk depends on xmpp_stone from git, version solving failed.
ghenry commented 3 years ago

Could you go up to 0.17.0 - latest - https://pub.dev/packages/intl

Now null safety too.

https://github.com/vukoye/xmpp_dart/blob/master/pubspec.yaml#L24