handleDeepLink()
Processes deep links to trigger paywall previews and handle Superwall URLs.
This method is used to handle deep links that can trigger paywall previews or other Superwall functionality. It's commonly used for testing paywalls during development.
Purpose
Processes deep links to handle Superwall-specific URLs for paywall previews and testing.
Signature
Parameters
Name | Type | Description |
---|---|---|
url | Uri | The deep link URL to process. |
Returns / State
Returns a Future<bool>
indicating whether the URL was handled by Superwall (true
) or should be processed by your app (false
).
Usage
Basic deep link handling:
With error handling:
How is this guide?