Skip to content

Commit

Permalink
feat: changed validation to suspend function
Browse files Browse the repository at this point in the history
  • Loading branch information
ch4rl3x committed May 1, 2022
1 parent 8e143fb commit f3987e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions billing/src/main/java/de/charlex/billing/BillingHelper.kt
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ class BillingHelper(private val activity: Activity, billingClientBuilder: Billin
purchaseResult.purchasesList.forEach { purchase ->
if (!validation(purchase)) {
Log.e("BillingHelper", "Got a purchase: $purchase; but signature is bad.")
return null
}
}

Expand Down

0 comments on commit f3987e8

Please sign in to comment.