Use app context for billing client

pull/207/head
M66B 3 years ago
parent 5866ec6eb2
commit 0d2349079c

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

Loading…
Cancel
Save