File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
packages/in_app_purchase/in_app_purchase Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1+ ## 1.0.9
2+
3+ * Handle purchases with ` PurchaseStatus.restored ` correctly in the example App.
4+ * Updated dependencies on ` in_app_purchase_android ` and ` in_app_purchase_ios ` to their latest versions (version 0.1.5 and 0.1.3+5 respectively).
5+
16## 1.0.8
27
38* Fix repository link in pubspec.yaml.
Original file line number Diff line number Diff line change @@ -429,7 +429,8 @@ class _MyAppState extends State<_MyApp> {
429429 } else {
430430 if (purchaseDetails.status == PurchaseStatus .error) {
431431 handleError (purchaseDetails.error! );
432- } else if (purchaseDetails.status == PurchaseStatus .purchased) {
432+ } else if (purchaseDetails.status == PurchaseStatus .purchased ||
433+ purchaseDetails.status == PurchaseStatus .restored) {
433434 bool valid = await _verifyPurchase (purchaseDetails);
434435 if (valid) {
435436 deliverProduct (purchaseDetails);
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: in_app_purchase
22description : A Flutter plugin for in-app purchases. Exposes APIs for making in-app purchases through the App Store and Google Play.
33repository : https://github.com/flutter/plugins/tree/master/packages/in_app_purchase/in_app_purchase
44issue_tracker : https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+in_app_purchase%22
5- version : 1.0.8
5+ version : 1.0.9
66
77environment :
88 sdk : " >=2.12.0 <3.0.0"
@@ -20,8 +20,8 @@ dependencies:
2020 flutter :
2121 sdk : flutter
2222 in_app_purchase_platform_interface : ^1.0.0
23- in_app_purchase_android : ^0.1.4
24- in_app_purchase_ios : ^0.1.1
23+ in_app_purchase_android : ^0.1.5
24+ in_app_purchase_ios : ^0.1.3+5
2525
2626dev_dependencies :
2727 flutter_driver :
You can’t perform that action at this time.
0 commit comments