feat:补充支付订单为空的判断
This commit is contained in:
@@ -110,8 +110,10 @@ public class BillingManager implements PurchasesUpdatedListener {
|
||||
Log.i(TAG, "billingResult.getResponseCode()==" + billingResult.getResponseCode());
|
||||
purchaseList.clear();
|
||||
if (billingResult.getResponseCode() == BillingResponseCode.OK) {
|
||||
for (Purchase purchase : purchases) {
|
||||
handlePurchase(purchase);
|
||||
if (purchases != null) {
|
||||
for (Purchase purchase : purchases) {
|
||||
handlePurchase(purchase);
|
||||
}
|
||||
}
|
||||
mBillingUpdatesListener.onPurchasesUpdated(purchaseList);
|
||||
} else {
|
||||
|
@@ -31,8 +31,8 @@ COMPILE_SDK_VERSION=33
|
||||
MIN_SDK_VERSION=21
|
||||
TARGET_SDK_VERSION=33
|
||||
|
||||
version_name=2.1.0
|
||||
version_code=2007
|
||||
version_name=2.1.1
|
||||
version_code=2110
|
||||
|
||||
#systemProp.https.proxyHost=127.0.0.1
|
||||
#systemProp.https.proxyPort=7890
|
Reference in New Issue
Block a user