LinkFive / flutter-purchases-sdk

4 stars 1 forks source link

Incompatibility if flutter_localizations is used #13

Open Ben1980 opened 1 year ago

Ben1980 commented 1 year ago

linkfive flutter plugin is incompatible to flutter_localizations:

Because linkfive_purchases <1.1.1 depends on provider ^5.0.0 and linkfive_purchases >=1.1.0 <1.2.0
  depends on in_app_purchases_intl ^0.0.2, linkfive_purchases <1.2.0 requires provider ^5.0.0 or
  in_app_purchases_intl ^0.0.2.
And because linkfive_purchases >=1.2.0 <2.0.2 depends on in_app_purchases_intl ^0.0.3 and
  linkfive_purchases >=2.0.2 depends on in_app_purchases_intl ^0.0.4, every version of linkfive_purchases
  requires in_app_purchases_intl ^0.0.2 or provider ^5.0.0.
Because every version of flutter_localizations from sdk depends on intl 0.18.0 and
  in_app_purchases_intl <1.0.0 depends on intl ^0.17.0, flutter_localizations from sdk is incompatible
  with in_app_purchases_intl <1.0.0.
Thus, if flutter_localizations from sdk and linkfive_purchases any then provider ^5.0.0.
And because octologs depends on flutter_localizations from sdk, every version of linkfive_purchases
  requires provider ^5.0.0.
So, because octologs depends on both provider ^6.0.2 and linkfive_purchases any, version solving
  failed.

You can see it as well within pub.dev:

Bildschirmfoto 2023-06-22 um 13 52 17
AlexanderThiele commented 1 year ago

Hey @Ben1980, yes thanks, we're currently working on an update. The master version of this repo already works with Dart 3 and flutter 3.10. we just need to do some server changes to apply the latest google basemoduls etc. you can test the master version with

dependencies:
  linkfive_purchases:
    git:
      url: "https://github.com/LinkFive/flutter-purchases-sdk"
      path: "packages/linkfive_purchases"
      ref: master

but the changes are not yet final.

Ben1980 commented 1 year ago

I think we can switch to German. Wann ist der Release denn geplant? Dann warte ich noch ein wenig denn ich würde gerne linkfive verwenden und nicht zu strip wechseln zu müssen.

AlexanderThiele commented 1 year ago

Definitiv diese Woche, würde das bei dir passen? Dann hätten wir auch endlich die Google Basis-Abos und Angebote mit drinnen.

Und grüße in die Schweiz!

Ben1980 commented 1 year ago

Ja super das ist mehr als früh genug. Viele Grüsse nach München.