Skip to content

Commit ddb335d

Browse files
hamdikahlounEgor
authored andcommitted
[in_app_purchase] Android Code Inspection and Clean up (flutter#3120)
* Android Code Inspection and Clean up * Format
1 parent 1300aaf commit ddb335d

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

packages/in_app_purchase/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.3.4+13
2+
3+
* Android Code Inspection and Clean up.
4+
15
## 0.3.4+12
26

37
* [iOS] Fixed: finishing purchases upon payment dialog cancellation.

packages/in_app_purchase/android/src/main/java/io/flutter/plugins/inapppurchase/MethodCallHandlerImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ public void onMethodCall(MethodCall call, MethodChannel.Result result) {
115115
endConnection(result);
116116
break;
117117
case InAppPurchasePlugin.MethodNames.QUERY_SKU_DETAILS:
118-
querySkuDetailsAsync(
119-
(String) call.argument("skuType"), (List<String>) call.argument("skusList"), result);
118+
List<String> skusList = call.argument("skusList");
119+
querySkuDetailsAsync((String) call.argument("skuType"), skusList, result);
120120
break;
121121
case InAppPurchasePlugin.MethodNames.LAUNCH_BILLING_FLOW:
122122
launchBillingFlow(

packages/in_app_purchase/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: in_app_purchase
22
description: A Flutter plugin for in-app purchases. Exposes APIs for making in-app purchases through the App Store and Google Play.
33
homepage: https://github.com/flutter/plugins/tree/master/packages/in_app_purchase
4-
version: 0.3.4+12
4+
version: 0.3.4+13
55

66
dependencies:
77
async: ^2.0.8

0 commit comments

Comments
 (0)