Improved IAB error

This commit is contained in:
M66B 2021-07-05 21:27:48 +02:00
parent c9b84689c6
commit e8969a9a82
2 changed files with 6 additions and 0 deletions

View File

@ -540,6 +540,9 @@ public class ActivityBilling extends ActivityBase implements /*PurchasesUpdatedL
else { else {
message = getBillingResponseText(result); message = getBillingResponseText(result);
if (result.getResponseCode() == BillingClient.BillingResponseCode.BILLING_UNAVAILABLE)
message += " Is the Play Store app logged into the account used to install the app?";
String debug = result.getDebugMessage(); String debug = result.getDebugMessage();
if (!TextUtils.isEmpty(debug)) if (!TextUtils.isEmpty(debug))
message += " " + debug; message += " " + debug;

View File

@ -539,6 +539,9 @@ public class ActivityBilling extends ActivityBase implements PurchasesUpdatedLis
else { else {
message = getBillingResponseText(result); message = getBillingResponseText(result);
if (result.getResponseCode() == BillingClient.BillingResponseCode.BILLING_UNAVAILABLE)
message += " Is the Play Store app logged into the account used to install the app?";
String debug = result.getDebugMessage(); String debug = result.getDebugMessage();
if (!TextUtils.isEmpty(debug)) if (!TextUtils.isEmpty(debug))
message += " " + debug; message += " " + debug;