Skip to content

Commit

Permalink
Update PurchaseSubscription.md
Browse files Browse the repository at this point in the history
Add missing return value in code sample
  • Loading branch information
chad-ramos committed Nov 4, 2019
1 parent 878c8d1 commit b277d32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/PurchaseSubscription.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public async Task<bool> PurchaseItem(string productId, string payload)
if (!connected)
{
//we are offline or can't connect, don't try to purchase
return;
return false;
}

//check purchases
Expand Down Expand Up @@ -70,4 +70,4 @@ public async Task<bool> PurchaseItem(string productId, string payload)
Learn more about `IInAppBillingVerifyPurchase` in the [Securing Purchases](SecuringPurchases.md) documentation.


<= Back to [Table of Contents](README.md)
<= Back to [Table of Contents](README.md)

0 comments on commit b277d32

Please sign in to comment.