SuperwallOptions
A configuration class for customizing paywall appearance and behavior.
Only modify networkEnvironment
if explicitly instructed by the Superwall team. Use .RELEASE
(default) for production apps.
Use different SuperwallOptions
configurations for debug and release builds to optimize logging and behavior for each environment.
Purpose
Configures various aspects of Superwall behavior including paywall presentation, networking, and logging.
Signature
Parameters
Property | Type | Description |
---|---|---|
paywalls | PaywallOptions | Configuration for paywall appearance and behavior. |
networkEnvironment | NetworkEnvironment | Network environment (.RELEASE , .RELEASE_CANDIDATE , .DEVELOPER , .CUSTOM(String) ). Use only if instructed by Superwall team. |
logging | LoggingOptions | Logging configuration including level and scopes. |
localeIdentifier | String? | Override locale for paywall localization (e.g., "en_GB"). |
Returns / State
This is a configuration object used when calling configure()
.
Usage
Basic options setup:
How is this guide?