File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
packages/in_app_purchase/in_app_purchase_storekit Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.3.6+3
2
+
3
+ * Adds a null check, to prevent a new diagnostic.
4
+
1
5
## 0.3.6+2
2
6
3
7
* Clarifies explanation of endorsement in README.
13
17
14
18
## 0.3.5+2
15
19
16
- * Fix a crash when ` appStoreReceiptURL ` is nil.
20
+ * Fixes a crash when ` appStoreReceiptURL ` is nil.
17
21
18
22
## 0.3.5+1
19
23
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: in_app_purchase_storekit
2
2
description : An implementation for the iOS and macOS platforms of the Flutter `in_app_purchase` plugin. This uses the StoreKit Framework.
3
3
repository : https://github.com/flutter/packages/tree/main/packages/in_app_purchase/in_app_purchase_storekit
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 : 0.3.6+2
5
+ version : 0.3.6+3
6
6
7
7
environment :
8
8
sdk : " >=2.18.0 <4.0.0"
Original file line number Diff line number Diff line change @@ -163,7 +163,9 @@ class FakeStoreKitPlatform {
163
163
return Future <void >.sync (() {});
164
164
case '-[InAppPurchasePlugin retrieveReceiptData:result:]' :
165
165
if (receiptData != null ) {
166
- return Future <String >.value (receiptData);
166
+ // TODO(asashour): Remove the `ignore` when Dart 3 reaches stable.
167
+ // ignore: unnecessary_null_checks
168
+ return Future <String >.value (receiptData! );
167
169
} else {
168
170
throw PlatformException (code: 'no_receipt_data' );
169
171
}
You can’t perform that action at this time.
0 commit comments