PaywallPurchaseLogic

Interface for handling in-app purchases and restorations directly by the application rather than by RevenueCat. These suspend methods are called by a RevenueCat Paywall in order to execute your app's custom purchase/restore code. These functions are only called when purchasesAreCompletedBy is set to MY_APP.

Functions

Link copied to clipboard

Performs an in-app purchase with the given purchase params.

Link copied to clipboard
abstract suspend fun performRestore(customerInfo: <Error class: unknown class>): PurchaseLogicResult

Restores previously completed purchases for the given customer.