From c09aa64ab5c79b45f843cbde6b7c301c27a199b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ritzl?= Date: Thu, 8 Sep 2022 09:51:39 +0200 Subject: [PATCH] Added title and description --- extension-iap/src/java/com/defold/iap/IapGooglePlay.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extension-iap/src/java/com/defold/iap/IapGooglePlay.java b/extension-iap/src/java/com/defold/iap/IapGooglePlay.java index c25871c..c9992c5 100644 --- a/extension-iap/src/java/com/defold/iap/IapGooglePlay.java +++ b/extension-iap/src/java/com/defold/iap/IapGooglePlay.java @@ -142,6 +142,8 @@ public class IapGooglePlay implements PurchasesUpdatedListener { JSONObject p = new JSONObject(); try { p.put("ident", productDetails.getProductId()); + p.put("title", productDetails.getTitle()); + p.put("description", productDetails.getDescription()); if (productDetails.getProductType().equals(ProductType.INAPP)) { OneTimePurchaseOfferDetails offerDetails = productDetails.getOneTimePurchaseOfferDetails(); p.put("price_string", offerDetails.getFormattedPrice());