Paywall Options
Options for configuring the appearance and behavior of paywalls.
Types
Defines the messaging of the alert presented to the user when restoring a transaction fails.
Defines the different types of views that can appear behind Apple's payment sheet during a transaction.
Properties
Automatically dismisses the paywall when a product is purchased or restored. Defaults to true.
Determines whether the paywall should use haptic feedback. Defaults to true.
This will be invoked when reroute_back_button is enabled in Paywall settings. You can use this to react to back button presses with custom logic. Return true if the dismiss has been consumed, false if you prefer to fall back to SDK logic.
Hide shimmer optimistically.
A map of product name to product identifier that allows you to override products on all paywalls.
If preloading is enabled, you can control preloading per-device tier. This way you can control preloading on low-end and high-end devices granularly. Define only the tiers you want to specifically control, the rest will fall back to using the shouldPreload flag.
Defines the messaging of the alert presented to the user when restoring a transaction fails.
Pre-loads and caches trigger paywalls and products when you initialize the SDK via `Superwall/configure(apiKey:purchaseController:options:completion:)-52tke`. Defaults to true.
Shows an alert after a purchase fails. Defaults to true.
How long until a paywall timeout is invoked. If not using fallback loading, setting this will trigger a paywall timeout instead of retrying.
The view that appears behind Apple's payment sheet during a transaction. Defaults to .spinner.
Loads paywall template websites from disk, if available. Defaults to true.