Package-level declarations

Types

Link copied to clipboard
interface PaywallListener

Provide an implementation of this interface to PaywallOptions to listen for Paywall events. Every function has a default no-op implementation.

Link copied to clipboard

Options for the Paywall.

Functions

Link copied to clipboard
actual fun CustomerCenter(modifier: Modifier, onDismiss: () -> Unit)
expect fun CustomerCenter(modifier: Modifier = Modifier, onDismiss: () -> Unit)

A full-screen CustomerCenter.

actual fun CustomerCenter(modifier: Modifier, onDismiss: () -> Unit)
Link copied to clipboard

A Paywall footer.

expect fun OriginalTemplatePaywallFooter(options: PaywallOptions, 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. Only compatible with original Paywalls. If using V2 Paywalls, this will display a fallback paywall instead.

Link copied to clipboard
actual fun Paywall(options: PaywallOptions)
expect fun Paywall(options: PaywallOptions)

A full-screen Paywall.

Link copied to clipboard
fun PaywallFooter(options: PaywallOptions, 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. Only compatible with original Paywalls. If using V2 Paywalls, this will display a fallback paywall instead.

Link copied to clipboard
fun PaywallOptions(dismissRequest: () -> Unit, builder: PaywallOptions.Builder.() -> Unit = { }): PaywallOptions

Options for the Paywall.