mirror of
https://github.com/defold/extension-iap
synced 2025-09-27 17:12:18 +02:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
5c806a990d | ||
|
ca33678486 | ||
|
faf62f2314 |
@@ -45,6 +45,7 @@ public class IapAmazon implements PurchasingListener {
|
||||
this.activity = activity;
|
||||
this.autoFinishTransactions = autoFinishTransactions;
|
||||
this.listProductsListeners = new HashMap<RequestId, IListProductsListener>();
|
||||
this.listProductsCommandPtrs = new HashMap<RequestId, Long>();
|
||||
this.purchaseListeners = new HashMap<RequestId, IPurchaseListener>();
|
||||
PurchasingService.registerListener(activity, this);
|
||||
}
|
||||
@@ -96,6 +97,10 @@ public class IapAmazon implements PurchasingListener {
|
||||
}
|
||||
PurchasingService.notifyFulfillment(receipt, FulfillmentResult.FULFILLED);
|
||||
}
|
||||
|
||||
public void acknowledgeTransaction(final String purchaseToken, final IPurchaseListener purchaseListener) {
|
||||
// Stub to prevent errors.
|
||||
}
|
||||
|
||||
private void doGetPurchaseUpdates(final IPurchaseListener listener, final boolean reset) {
|
||||
synchronized (purchaseListeners) {
|
||||
|
Reference in New Issue
Block a user