commit | e19503e86f911ce26127291e25ba63a54401ba27 | [log] [tgz] |
---|---|---|
author | LouiseHsu <louisehsu@google.com> | Thu Oct 17 15:23:20 2024 -0700 |
committer | GitHub <noreply@github.com> | Thu Oct 17 22:23:20 2024 +0000 |
tree | b5bdd6a5257bc869e47e264d0e470a27b8c9393a | |
parent | a99f9e6e64a3d88f936bbfa6269a42e7ef298a9e [diff] |
[in_app_purchase_storekit] Add support for purchase and transactions (#7887) This PR contains the preliminary implementations for handling [purchases](https://developer.apple.com/documentation/storekit/product/3791971-purchase) and [transactions](https://developer.apple.com/documentation/storekit/transaction) Of note, as of StoreKit 2, the [result of a call to a purchase will only return a Transaction](https://developer.apple.com/documentation/storekit/product/purchaseresult) when the purchase is successful. If the status of purchase is pending, or cancelled, nothing will be returned. This is in contrast to StoreKit 1, where developers could check the state of a Transaction with [TransactionState](https://developer.apple.com/documentation/storekit/skpaymenttransaction/1411275-transactionstate). This means that migrating to StoreKit 2 will require developers to update their handling of transactions accordingly. Relands https://github.com/flutter/packages/pull/7574
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: