Package-level declarations

Types

This annotation marks the experimental preview of the RevenueCat UI Purchases API. This API is in a preview state and has a very high chance of being changed in the near future.

Link copied to clipboard
Link copied to clipboard
interface PaywallListener
Link copied to clipboard
data class PaywallOptions
Link copied to clipboard
interface PurchaseLogic

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 you app's custom purchase/restore code. These functions are only called when Purchases.purchasesAreCompletedBy is set to MY_APP.

Link copied to clipboard

Represents the result of a purchase attempt made by custom app-based code (not RevenueCat).

Link copied to clipboard

Abstract class extending PurchaseLogic, providing methods for handling in-app purchases and restorations with completion callbacks rather than co-routines.

Functions

Link copied to clipboard

Composable offering a full screen Paywall UI configured from the RevenueCat dashboard.

Link copied to clipboard
fun PaywallDialog(paywallDialogOptions: PaywallDialogOptions)

Composable offering a dialog screen Paywall UI configured from the RevenueCat dashboard. This dialog will be shown as a full screen dialog in compact devices and a normal dialog otherwise.

Link copied to clipboard
fun PaywallFooter(options: PaywallOptions, condensed: Boolean = false, mainContent: @Composable (PaddingValues) -> Unit? = null)

Composable offering a minified screen Paywall UI configured from the RevenueCat dashboard. You can pass in your own Composables to be displayed in the main content area.