feat: added username to IAP purchaseProduct method (#35902)
This commit is contained in:
parent
4e66184287
commit
6a798b1c58
6 changed files with 39 additions and 11 deletions
|
@ -178,9 +178,11 @@ v8::Local<v8::Promise> InAppPurchase::PurchaseProduct(
|
|||
|
||||
int quantity = 1;
|
||||
args->GetNext(&quantity);
|
||||
std::string username = "";
|
||||
args->GetNext(&username);
|
||||
|
||||
in_app_purchase::PurchaseProduct(
|
||||
product_id, quantity,
|
||||
product_id, quantity, username,
|
||||
base::BindOnce(gin_helper::Promise<bool>::ResolvePromise,
|
||||
std::move(promise)));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue