Builder

class Builder

Builder for creating PaywallActivityLaunchOptions.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard

Sets custom variables to be used in paywall text. These values will replace {{ custom.key }} or {{ $custom.key }} placeholders in the paywall configuration.

Link copied to clipboard

Sets whether to display the paywall in edge-to-edge mode. On versions below Android 15, edge-to-edge is enabled only if this is set to true. On Android 15 (API 35), edge-to-edge is enabled by default, so this parameter has no effect unless the app has opted out via the manifest. On Android 16+ (API 36), edge-to-edge is enforced by the system and cannot be disabled.

Link copied to clipboard

Sets the font provider to be used in the paywall. Only available for original template paywalls. Ignored for V2 Paywalls.

Link copied to clipboard

Sets a listener to receive paywall events such as purchase completion, restoration, and errors.

Link copied to clipboard

Sets the offering to be shown in the paywall. If not set, the current offering will be shown.

Link copied to clipboard

Internal method for hybrid SDKs to set offering by identifier and context. This is mutually exclusive with setOffering.

Link copied to clipboard

Sets custom purchase logic to handle purchases directly by the application rather than by RevenueCat.

Link copied to clipboard

Sets whether to display the dismiss button in the paywall. Only available for original template paywalls. Ignored for V2 Paywalls. Default is true.