File tree Expand file tree Collapse file tree 5 files changed +14
-13
lines changed
packages/in_app_purchase/in_app_purchase Expand file tree Collapse file tree 5 files changed +14
-13
lines changed Original file line number Diff line number Diff line change 1
- ## NEXT
1
+ ## 3.2.1
2
2
3
- * Updates minimum supported SDK version to Flutter 3.22/Dart 3.4.
3
+ * Updates minimum supported SDK version to Flutter 3.24/Dart 3.5.
4
+ * Updates ` in_app_purchase_android ` to 0.4.0.
4
5
5
6
## 3.2.0
6
7
Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ the end user's payment account.
216
216
To upgrade/downgrade an existing in-app subscription in Google Play,
217
217
you need to provide an instance of ` ChangeSubscriptionParam ` with the old
218
218
` PurchaseDetails ` that the user needs to migrate from, and an optional
219
- ` ProrationMode ` with the ` GooglePlayPurchaseParam ` object while calling
219
+ ` ReplacementMode ` with the ` GooglePlayPurchaseParam ` object while calling
220
220
` InAppPurchase.buyNonConsumable ` .
221
221
222
222
The App Store does not require this because it provides a subscription
@@ -232,7 +232,7 @@ PurchaseParam purchaseParam = GooglePlayPurchaseParam(
232
232
productDetails: productDetails,
233
233
changeSubscriptionParam: ChangeSubscriptionParam(
234
234
oldPurchaseDetails: oldPurchaseDetails,
235
- prorationMode: ProrationMode.immediateWithTimeProration ));
235
+ replacementMode: ReplacementMode.withTimeProration ));
236
236
InAppPurchase.instance
237
237
.buyNonConsumable(purchaseParam: purchaseParam);
238
238
```
Original file line number Diff line number Diff line change @@ -284,8 +284,8 @@ class _MyAppState extends State<_MyApp> {
284
284
changeSubscriptionParam: (oldSubscription != null )
285
285
? ChangeSubscriptionParam (
286
286
oldPurchaseDetails: oldSubscription,
287
- prorationMode :
288
- ProrationMode .immediateWithTimeProration ,
287
+ replacementMode :
288
+ ReplacementMode .withTimeProration ,
289
289
)
290
290
: null );
291
291
} else {
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ description: Demonstrates how to use the in_app_purchase plugin.
3
3
publish_to : none
4
4
5
5
environment :
6
- sdk : ^3.4 .0
7
- flutter : " >=3.22 .0"
6
+ sdk : ^3.5 .0
7
+ flutter : " >=3.24 .0"
8
8
9
9
dependencies :
10
10
flutter :
@@ -16,7 +16,7 @@ dependencies:
16
16
# The example app is bundled with the plugin so we use a path dependency on
17
17
# the parent directory to use the current plugin's version.
18
18
path : ../
19
- in_app_purchase_android : ^0.3 .0
19
+ in_app_purchase_android : ^0.4 .0
20
20
in_app_purchase_storekit : ^0.3.4
21
21
shared_preferences : ^2.0.0
22
22
Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ name: in_app_purchase
2
2
description : A Flutter plugin for in-app purchases. Exposes APIs for making in-app purchases through the App Store and Google Play.
3
3
repository : https://github.com/flutter/packages/tree/main/packages/in_app_purchase/in_app_purchase
4
4
issue_tracker : https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+in_app_purchase%22
5
- version : 3.2.0
5
+ version : 3.2.1
6
6
7
7
environment :
8
- sdk : ^3.4 .0
9
- flutter : " >=3.22 .0"
8
+ sdk : ^3.5 .0
9
+ flutter : " >=3.24 .0"
10
10
11
11
flutter :
12
12
plugin :
@@ -21,7 +21,7 @@ flutter:
21
21
dependencies :
22
22
flutter :
23
23
sdk : flutter
24
- in_app_purchase_android : ^0.3.4
24
+ in_app_purchase_android : ^0.4.0
25
25
in_app_purchase_platform_interface : ^1.4.0
26
26
in_app_purchase_storekit : ^0.3.14
27
27
You can’t perform that action at this time.
0 commit comments