mirror of
https://github.com/defold/extension-iap
synced 2025-06-27 10:27:46 +02:00
Added title and description
This commit is contained in:
parent
d0ca1e05fd
commit
c09aa64ab5
@ -142,6 +142,8 @@ public class IapGooglePlay implements PurchasesUpdatedListener {
|
|||||||
JSONObject p = new JSONObject();
|
JSONObject p = new JSONObject();
|
||||||
try {
|
try {
|
||||||
p.put("ident", productDetails.getProductId());
|
p.put("ident", productDetails.getProductId());
|
||||||
|
p.put("title", productDetails.getTitle());
|
||||||
|
p.put("description", productDetails.getDescription());
|
||||||
if (productDetails.getProductType().equals(ProductType.INAPP)) {
|
if (productDetails.getProductType().equals(ProductType.INAPP)) {
|
||||||
OneTimePurchaseOfferDetails offerDetails = productDetails.getOneTimePurchaseOfferDetails();
|
OneTimePurchaseOfferDetails offerDetails = productDetails.getOneTimePurchaseOfferDetails();
|
||||||
p.put("price_string", offerDetails.getFormattedPrice());
|
p.put("price_string", offerDetails.getFormattedPrice());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user