Fix resubscribe
This commit is contained in:
parent
d9baad5644
commit
e7da52098a
1 changed files with 2 additions and 1 deletions
|
@ -175,7 +175,8 @@ public class InAppPurchaseHelperImpl extends InAppPurchaseHelper {
|
|||
});
|
||||
}
|
||||
for (Purchase purchase : purchases) {
|
||||
if (!purchase.isAcknowledged()) {
|
||||
InAppSubscription subscription = getLiveUpdates().getSubscriptionBySku(purchase.getSku());
|
||||
if (!purchase.isAcknowledged() || (subscription != null && !subscription.isPurchased())) {
|
||||
onPurchaseFinished(purchase);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue