PaywallView
View that wraps the Paywall Composable to display the Paywall through XML layouts and the View system.
Constructors
Constructor when creating the view programmatically with a dismiss handler.
Constructor when creating the view programmatically.
Functions
Sets custom variables to be used in paywall text. These values will replace {{ custom.key }} or {{ $custom.key }} placeholders in the paywall configuration.
Sets a dismiss handler which will be called:
Sets the visibility of the dismiss button in the Paywall. Only available for original template paywalls. Ignored for V2 Paywalls.
Sets the font provider to be used for the Paywall. If not set, the default one will be used. Only available for original template paywalls. Ignored for V2 Paywalls.
Sets the offering id and presented offering context to be used to display the Paywall. If not set, the default one will be used.
Sets a PaywallListener to receive callbacks from the Paywall.
Sets the PurchaseLogic to handle purchases and restores within the Paywall. This is required when Purchases has been configured with purchasesAreCompletedBy as PurchasesAreCompletedBy.MY_APP.