SuperwallOptions
Configuration options for customizing Superwall SDK behavior.
Purpose
Configures various aspects of the Superwall SDK including paywall behavior, logging, and network settings.
Signature
Parameters
Property | Type | Description |
---|---|---|
paywalls | PaywallOptions | Configuration for paywall presentation behavior. |
networkEnvironment | NetworkEnvironment | Network environment for API calls (release/staging). |
isExternalDataCollectionEnabled | bool | Enables external data collection for analytics. Defaults to true . |
localeIdentifier | String? | Override locale for paywall localization. Defaults to device locale. |
isGameControllerEnabled | bool | Enables game controller support. Defaults to false . |
logging | Logging | Configuration for SDK logging levels and behavior. |
Usage
Basic options:
Production configuration:
Development configuration:
Custom locale:
How is this guide?