Skip to content

Commit

Permalink
Revert "support promouting purchaces"
Browse files Browse the repository at this point in the history
This reverts commit 6f90954.
  • Loading branch information
Valeryn4 committed Apr 21, 2021
1 parent a106831 commit 205cd9e
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions plugins/inappstore/in_app_store.mm
Original file line number Diff line number Diff line change
Expand Up @@ -231,15 +231,6 @@ - (void)finishTransactionWithProductID:(NSString *)productID {
self.pendingTransactions[productID] = nil;
}

- (BOOL)paymentQueue:(SKPaymentQueue *)queue shouldAddStorePayment:(SKPayment *)payment forProduct:(SKProduct *)product {
Dictionary ret;
ret["type"] = "purchase_deferred";
ret["result"] = "ok";
ret["product_id"] = String::utf8([payment.productIdentifier UTF8String]);
InAppStore::get_singleton()->_post_event(ret);
return false;
}

- (void)reset {
[self.pendingTransactions removeAllObjects];
}
Expand Down

0 comments on commit 205cd9e

Please sign in to comment.