Skip to content

Commit

Permalink
Upgrade setup documentation (#519)
Browse files Browse the repository at this point in the history
Missed using context in sample code for `isIabServiceAvailable`
  • Loading branch information
Husseinhj authored Feb 15, 2022
1 parent b327dd2 commit 60a70b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ Before any usage it's good practice to check in-app billing services availabilit
In some older devices or chinese ones it may happen that Play Market is unavailable or is deprecated
and doesn't support in-app billing.

Simply call static method `BillingProcessor.isIabServiceAvailable()`:
Simply call static method `BillingProcessor.isIabServiceAvailable(context)`:
```java
boolean isAvailable = BillingProcessor.isIabServiceAvailable();
boolean isAvailable = BillingProcessor.isIabServiceAvailable(this);
if(!isAvailable) {
// continue
}
Expand Down

0 comments on commit 60a70b9

Please sign in to comment.