File tree Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.3.4+7
2
+
3
+ * iOS: Fix typo of the ` simulatesAskToBuyInSandbox ` key.
4
+
1
5
## 0.3.4+6
2
6
3
7
* iOS: Fix the bug that prevent restored subscription transactions from being completed
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ - (void)addPayment:(FlutterMethodCall *)call result:(FlutterResult)result {
180
180
payment.quantity = (quantity != nil ) ? quantity.integerValue : 1 ;
181
181
if (@available (iOS 8.3 , *)) {
182
182
payment.simulatesAskToBuyInSandbox =
183
- [[paymentMap objectForKey: @" simulatesAskToBuyInSandBox " ] boolValue ];
183
+ [[paymentMap objectForKey: @" simulatesAskToBuyInSandbox " ] boolValue ];
184
184
}
185
185
186
186
if (![self .paymentQueueHandler addPayment: payment]) {
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ - (void)testAddPaymentFailure {
81
81
arguments: @{
82
82
@" productIdentifier" : @" 123" ,
83
83
@" quantity" : @(1 ),
84
- @" simulatesAskToBuyInSandBox " : @YES ,
84
+ @" simulatesAskToBuyInSandbox " : @YES ,
85
85
}];
86
86
SKPaymentQueueStub* queue = [SKPaymentQueueStub new ];
87
87
queue.testState = SKPaymentTransactionStateFailed;
@@ -118,7 +118,7 @@ - (void)testAddPaymentWithSameProductIDWillFail {
118
118
arguments: @{
119
119
@" productIdentifier" : @" 123" ,
120
120
@" quantity" : @(1 ),
121
- @" simulatesAskToBuyInSandBox " : @YES ,
121
+ @" simulatesAskToBuyInSandbox " : @YES ,
122
122
}];
123
123
SKPaymentQueueStub* queue = [SKPaymentQueueStub new ];
124
124
queue.testState = SKPaymentTransactionStatePurchased;
@@ -163,7 +163,7 @@ - (void)testAddPaymentSuccessWithMockQueue {
163
163
arguments: @{
164
164
@" productIdentifier" : @" 123" ,
165
165
@" quantity" : @(1 ),
166
- @" simulatesAskToBuyInSandBox " : @YES ,
166
+ @" simulatesAskToBuyInSandbox " : @YES ,
167
167
}];
168
168
SKPaymentQueueStub* queue = [SKPaymentQueueStub new ];
169
169
queue.testState = SKPaymentTransactionStatePurchased;
Original file line number Diff line number Diff line change 1
1
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
homepage : https://github.com/flutter/plugins/tree/master/packages/in_app_purchase
4
- version : 0.3.4+6
4
+ version : 0.3.4+7
5
5
6
6
dependencies :
7
7
async : ^2.0.8
You can’t perform that action at this time.
0 commit comments