Skip to content

Commit

Permalink
Merge branch 'android-v5' of https://github.com/jamesmontemagno/InApp…
Browse files Browse the repository at this point in the history
…BillingPlugin into android-v5
  • Loading branch information
jamesmontemagno committed Jun 4, 2023
2 parents 95b2d44 + cf7cc36 commit 29e8965
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Plugin.InAppBilling/InAppBilling.android.cs
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,9 @@ public async override Task<InAppBillingPurchase> PurchaseAsync(string productId,
{
return null;
}

if(!string.IsNullOrWhiteSpace(obfuscatedProfileId) && string.IsNullOrWhiteSpace(obfuscatedAccountId))
throw new ArgumentNullException("You must set an account id if you are setting a profile id");

switch (itemType)
{
Expand Down

0 comments on commit 29e8965

Please sign in to comment.