Skip to content

Instantly share code, notes, and snippets.

@mattiaferigutti
Created January 28, 2021 22:48
Show Gist options
  • Save mattiaferigutti/de193661d3b9f1a303e8fcf2851e5153 to your computer and use it in GitHub Desktop.
Save mattiaferigutti/de193661d3b9f1a303e8fcf2851e5153 to your computer and use it in GitHub Desktop.
/**
* call this method to undo the payment and restore the free version
*/
private fun resetPayment() {
billingProcessor?.consumePurchase(PRODUCT_ID)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment