Use app context for billing client

This commit is contained in:
M66B 2022-05-04 16:18:59 +02:00
parent 5866ec6eb2
commit 0d2349079c
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ public class ActivityBilling extends ActivityBase
if (Helper.isPlayStoreInstall() || isTesting(this)) {
Log.i("IAB start");
billingClient = BillingClient.newBuilder(this)
billingClient = BillingClient.newBuilder(getApplicationContext())
.enablePendingPurchases()
.setListener(this)
.build();