Question by
Lord_Legion · May 12, 2021 at 11:32 PM ·
c#purchase
Unity IAP Error
Please Help me. When i am start my game, i get error in logcat: please provide a valid sku type
public PurchasesResult queryPurchases(@SkuType String skuType) { if (!isReady()) { return new PurchasesResult(BillingResponse.SERVICE_DISCONNECTED, / purchasesList / null); }
// Checking for the mandatory argument
if (TextUtils.isEmpty(skuType)) {
BillingHelper.logWarn(TAG, "Please provide a valid SKU type.");
return new PurchasesResult(BillingResponse.DEVELOPER_ERROR, /* purchasesList */ null);
}
return queryPurchasesInternal(skuType, false /* queryHistory */);
}
What's the problem?? She is related to the IAP purchase
Comment
Your answer
Follow this Question
Related Questions
GUI not updating after scene change on IAP button click? 1 Answer
Unity iAp initialization problem 1 Answer
Unity In App Purchase Unity 5.3 1 Answer
How to add a GUI skin to this script! 0 Answers