commit | dc5ff42b1b9d634567f1967229e59ffb93a300af | [log] [tgz] |
---|---|---|
author | Jeroen Weener <JeroenWeener@users.noreply.github.com> | Wed May 17 16:47:21 2023 +0200 |
committer | GitHub <noreply@github.com> | Wed May 17 14:47:21 2023 +0000 |
tree | 2471035a8dca428408e80bc0df774e773e47042c | |
parent | 2b38236a9572398afeca402a142bc410e390bdd2 [diff] |
[in_app_purchase] Fully migrate to BillingClient V5 (#3752) Sunsets BillingClient v4 calls in favor of the new v5 calls. Changes mostly follow the [Migration guide](https://developer.android.com/google/play/billing/migrate-gpblv5). Besides solving several issues, this change is also required as [billing client v4 will be obsolete by August 2nd, 2023](https://developer.android.com/google/play/billing/deprecation-faq). `getProductDetails()` will now return both base plans and their offers for subscriptions. Before, it would only return subscriptions that were backwards compatible with billing client v4. Price changes for subscriptions seem to be handled by the Play Store now instead. Therefore, `launchPriceChangeConfirmationFlow()` has been removed, making this PR a breaking change. Context: * [Billing Client API](https://developer.android.com/reference/com/android/billingclient/api/BillingClient#launchPriceChangeConfirmationFlow(android.app.Activity,%20com.android.billingclient.api.PriceChangeFlowParams,%20com.android.billingclient.api.PriceChangeConfirmationListener)) * [Billing Client docs](https://developer.android.com/google/play/billing/subscriptions#price-change) This PR fixes the following issues: * Fixes [#110909](https://github.com/flutter/flutter/issues/110909) * Fixes [#107370](https://github.com/flutter/flutter/issues/107370) * Fixes [#114265](https://github.com/flutter/flutter/issues/114265)
This repo is a companion repo to the main flutter repo. It contains the source code for Flutter's first-party packages (i.e., packages developed by the core Flutter team). Check the packages
directory to see all packages.
These packages are also available on pub.
Please file any issues, bugs, or feature requests in the main flutter repo. Issues pertaining to this repository are labeled “package”.
If you wish to contribute a new package to the Flutter ecosystem, please see the documentation for developing packages. You can store your package source code in any GitHub repository (the present repo is only intended for packages developed by the core Flutter team). Once your package is ready you can publish to the pub repository.
If you wish to contribute a change to any of the existing packages in this repo, please review our contribution guide, and send a pull request.
These are the packages hosted in this repository: