Skip to content

Commit

Permalink
change vendor to vendor-google
Browse files Browse the repository at this point in the history
  • Loading branch information
qiuguohua committed Dec 12, 2024
1 parent b2d878f commit 6523241
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/package-size-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const features = [];
files.forEach(file => {
const filePath = ps.join(exportsDir, file);
const feature = ps.parse(ps.basename(filePath)).name;
if (feature !== 'vendor') {
if (feature !== 'vendor-google') {
features.push(feature);
}
});
Expand Down
12 changes: 6 additions & 6 deletions native/vendor/google/billing/GoogleBilling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ bool BillingClient::isReady() const {

void BillingClient::queryProductDetailsAsync(QueryProductDetailsParams* params, se::Object* listener) {
if(!params || !listener) {
CC_LOG_WARNING("params or listener can't be null");
CC_LOG_WARNING("QueryProductDetailsParams or listener can't be null");
return;
}
int listenerId = addListener(listener);
Expand All @@ -153,15 +153,15 @@ void BillingClient::queryProductDetailsAsync(QueryProductDetailsParams* params,

void BillingClient::launchBillingFlow(BillingFlowParams* params) {
if(!params) {
CC_LOG_WARNING("Params can't be null");
CC_LOG_WARNING("BillingFlowParams can't be null");
return;
}
GoogleBillingHelper::launchBillingFlow(_tag, params);
}

void BillingClient::consumeAsync(ConsumeParams* params, se::Object* listener) {
if(!params || !listener) {
CC_LOG_WARNING("Params or listener can't be null");
CC_LOG_WARNING("ConsumeParams or listener can't be null");
return;
}
int listenerId = addListener(listener);
Expand All @@ -170,7 +170,7 @@ void BillingClient::consumeAsync(ConsumeParams* params, se::Object* listener) {

void BillingClient::acknowledgePurchase(AcknowledgePurchaseParams* params, se::Object* listener) {
if(!params || !listener) {
CC_LOG_WARNING("Params or listener can't be null");
CC_LOG_WARNING("AcknowledgePurchaseParams or listener can't be null");
return;
}
int listenerId = addListener(listener);
Expand All @@ -179,7 +179,7 @@ void BillingClient::acknowledgePurchase(AcknowledgePurchaseParams* params, se::O

void BillingClient::queryPurchasesAsync(QueryPurchasesParams* params, se::Object* listener) {
if(!params || !listener) {
CC_LOG_WARNING("Params or listener can't be null");
CC_LOG_WARNING("QueryPurchasesParams or listener can't be null");
return;
}
int listenerId = addListener(listener);
Expand All @@ -188,7 +188,7 @@ void BillingClient::queryPurchasesAsync(QueryPurchasesParams* params, se::Object

void BillingClient::getBillingConfigAsync(GetBillingConfigParams* params, se::Object* listener) {
if(!params || !listener) {
CC_LOG_WARNING("Params or listener can't be null");
CC_LOG_WARNING("GetBillingConfigParams or listener can't be null");
return;
}
int listenerId = addListener(listener);
Expand Down

0 comments on commit 6523241

Please sign in to comment.