flutter_inapp_purchase icon indicating copy to clipboard operation
flutter_inapp_purchase copied to clipboard

Any plan to support the new Google Play Billing Library 5.0?

Open KarinBerg opened this issue 2 years ago • 0 comments

Version of flutter_inapp_purchase

5.3.1

Platforms you faced the error (IOS or Android or both?)

Android

Issue description

Google released in May 2022 a new Subscription structure. see https://support.google.com/googleplay/android-developer/answer/12124625

As far as I understand (and I'm actually a beginner in Google subscriptions) this right if you use this new structure flutter_inapp_purchase will not deliver the expected results. Example: Before May you created in the Play Console the following:

  • Subscription A (monthly)
    • Offer 1
  • Subscription B (yearly)

After May you create the following:

  • Subscription
    • Base plan A (monthly)
      • Offer 1
    • Base plan B (yearly)

The first base plan you create is by default the backwards-compatible base plan which is returned to the Google Play Billing Library deprecated method querySkuDetailsAsync().

See release notes of Google Play Billing Library for more info: https://developer.android.com/google/play/billing/release-notes There is also a migration guide: https://developer.android.com/google/play/billing/migrate-gpblv5

KarinBerg avatar Jun 15 '22 20:06 KarinBerg