SuperwallDelegate
An abstract class that receives global SDK events for analytics and lifecycle management.
Use this delegate for global events across your entire app. For events specific to individual registerPlacement()
calls, use PaywallPresentationHandler
instead.
Purpose
Receives global SDK events including paywall lifecycle, subscription changes, and custom actions.
Signature
Implementation
Extend the abstract class and implement the methods you need:
Usage
Set up the delegate:
Minimal delegate implementation:
How is this guide?