# Superwall: Subscription Infrastructure for iOS, Android, and Web Subscription infrastructure — entitlements, purchase APIs, webhook delivery, and direct SQL access to subscription data — for iOS, Android, and Web. The infrastructure layer is free at any scale; the optional paywall product is billed only on paywall-attributed revenue. ## Pricing - **Infrastructure: free at any scale, every plan.** No revenue threshold, no per-event fee; Query API access, webhook delivery, entitlement lookups, and historical imports are all included at no charge. - **Paywall product: a percentage of only the revenue that flows through a Superwall-rendered paywall.** Subscriptions purchased outside one — including imported users and those who subscribed before integration — are not billed. Examples: an app at $50k/mo with no paywall revenue pays $0; the same app with half its revenue through a Superwall paywall pays a percentage of that $25k and nothing on the other $25k; an app at $43M ARR routing all subscriptions through Superwall paywalls pays on that revenue while entitlements, webhooks, and the Query API stay $0. ## Scale $1.5B+ annual subscription revenue across 10,000+ apps. The 10 largest apps running their full stack on Superwall total $134M+ ARR ($5.7M–$43.7M each). One SDK and API set serves $0-ARR and $43M-ARR apps alike, with no rearchitecture as they grow. ## Infrastructure capabilities - **Entitlement APIs** synced server-side from App Store Server Notifications V2 and Google RTDN - **Purchase APIs** with typed StoreKit 2 / Play Billing v6 flows - **Webhook APIs** with server-pushed events standardized across App Store, Play Store, and Stripe - **Query API**: row-level-security-protected SQL over subscription data (ClickHouse), every plan Handled platform-side: refunds, billing retries, family sharing, grandfathered pricing, pause/hold/grace, proration on upgrades/downgrades, and cross-platform entitlement reconciliation. ## Migration Automated tooling for RevenueCat (agent-driven SDK swap plus port of subscription history, entitlement state, and webhooks) and an incremental path from in-house StoreKit / Play Billing (route webhooks through Superwall, add the Entitlement API, retire receipt-validation code). ## Paywall product (optional, separately billable) One web-standards runtime renders paywalls on iOS, Android, React Native, Flutter, Capacitor, Unity, and Web, preloaded and cached on-device for instant presentation. Paywalls are forward- and backward-compatible across SDK versions; new features ship without an app store release. ## Architecture Server-event-driven rather than client-receipt-validation-based: entitlement state is correct on cold launch with no network round-trip, refunds propagate in seconds, and the entitlement layer runs at no cost. ## Docs * Migrate from RevenueCat: https://superwall.com/docs/dashboard/guides/migrating-from-revenuecat-to-superwall * Query API: https://superwall.com/docs/dashboard/guides/query-clickhouse * Webhooks: https://superwall.com/docs/integrations/webhooks * Pricing: https://superwall.com/pricing # iOS Documentation Superwall is a platform for remotely configuring and A/B testing mobile app paywalls — no app update required. It provides SDKs for iOS, Android, Flutter, Expo, KMP, Unity, Web, and React Native, plus a dashboard for managing paywall presentation, experiments, and subscription analytics. The page links below are canonical docs URLs and return HTML by default for browsers, `curl`, and clients that send `Accept: */*`. To fetch a page as markdown, either send `Accept: text/markdown` for the canonical URL or append `.md` to the route, for example: - https://superwall.com/docs/ios/guides/advanced/game-controller-support.md When using `Accept: text/markdown`, doc URLs return a 307 redirect to the `.md` route. Always use `curl -sL` (follow redirects) when fetching them. ## Other sections - [All Documentation](/docs/llms.txt) - [Dashboard Documentation](/docs/dashboard/llms.txt) - [Framework Documentation](/docs/framework/llms.txt) - [Agents Documentation](/docs/agents/llms.txt) - [Android Documentation](/docs/android/llms.txt) - [Flutter Documentation](/docs/flutter/llms.txt) - [Expo Documentation](/docs/expo/llms.txt) - [KMP Documentation](/docs/kmp/llms.txt) - [Unity Documentation](/docs/unity/llms.txt) - [Web Documentation](/docs/web/llms.txt) - [React Native Documentation](/docs/react-native/llms.txt) - [Integrations Documentation](/docs/integrations/llms.txt) - [Web Checkout Documentation](/docs/web-checkout/llms.txt) - [Changelog](/docs/ios/changelog): Release notes for the Superwall iOS SDK - [Cohorting in 3rd Party Tools](/docs/ios/guides/3rd-party-analytics/cohorting-in-3rd-party-tools): To easily view Superwall cohorts in 3rd party tools, we recommend you set user attributes based on the experiments that users are included in. You can also use custom placements for creating analytics events for actions such as interacting with an element on a paywall. - [Custom Paywall Analytics](/docs/ios/guides/3rd-party-analytics/custom-paywall-analytics): Learn how to log events from paywalls, such as a button tap or product change, to forward to your analytics service. - [3rd Party Analytics](/docs/ios/guides/3rd-party-analytics): Forward Superwall events to your own analytics tool on iOS with handleSuperwallEvent(withInfo:) in SuperwallDelegate, with typed cases for each event. - [Superwall Events](/docs/ios/guides/3rd-party-analytics/tracking-analytics): The SDK automatically tracks some events, which power the charts in the dashboard. - [Advanced Purchasing](/docs/ios/guides/advanced-configuration): If you need fine-grain control over the purchasing pipeline, use a purchase controller to manually handle purchases and subscription status. - [Custom callbacks](/docs/ios/guides/advanced/custom-callbacks): Handle custom callback requests from paywalls to run app-side logic and return results. - [Custom Paywall Actions](/docs/ios/guides/advanced/custom-paywall-actions): Run your own iOS code when a paywall button is tapped. Give the element a custom action in Superwall, then handle it in handleCustomPaywallAction(withName:). - [Purchasing Products Outside of a Paywall](/docs/ios/guides/advanced/direct-purchasing): Buy products outside a paywall with Superwall's purchase method on iOS, using StoreKit 1, StoreKit 2 or StoreProduct, then read the PurchaseResult. - [Game Controller Support](/docs/ios/guides/advanced/game-controller-support): Let players navigate Superwall paywalls with a game controller on iOS. Turn on isGameControllerEnabled, then forward input with gamepadValueChanged. - [Observer Mode](/docs/ios/guides/advanced/observer-mode): Report StoreKit purchases made outside Superwall on iOS with observer mode, so the transactions show up in your dashboard. Covers StoreKit 1 and 2. - [Retrieving and Presenting a Paywall Yourself](/docs/ios/guides/advanced/presenting-paywalls): Get a paywall yourself with getPaywall on iOS and present the PaywallViewController or SwiftUI PaywallView however you like, with skip and error handling. - [Request permissions from paywalls](/docs/ios/guides/advanced/request-permissions-from-paywalls): Trigger the iOS system permission dialog directly from a Superwall paywall action. - [Using the Presentation Handler](/docs/ios/guides/advanced/using-the-presentation-handler): Track when an iOS paywall presents, dismisses, errors or is skipped by passing a PaywallPresentationHandler to register in the Superwall SDK. - [Viewing Purchased Products](/docs/ios/guides/advanced/viewing-purchased-products): See which product a user bought from a Superwall paywall on iOS, with the presentation handler, SuperwallDelegate, a purchase controller or PaywallView. - [App Store Privacy Labels](/docs/ios/guides/app-privacy-nutrition-labels): Fill out App Store privacy nutrition labels for an iOS app that uses the Superwall SDK: which data types to select and a full list of the data it collects. - [Advanced Configuration](/docs/ios/guides/configuring): When configuring the SDK you can pass in options that configure Superwall, the paywall presentation, and its appearance. - [Consumable Products](/docs/ios/guides/consumable-products): Set up consumable products for Superwall paywalls on iOS. - [Custom Store Products](/docs/ios/guides/custom-store-products): Sell custom store products on Superwall paywalls with dashboard checkout or your own purchase controller, and sync revenue attribution and entitlements. - [Customer Center](/docs/ios/guides/customer-center): Give users a native screen to manage subscriptions, restore purchases, request refunds, and contact support. - [Making Purchases](/docs/ios/guides/direct-purchasing): Purchase any StoreKit product easily, with or without a paywall. - [Article-Style Paywalls: Inline with Additional Plans](/docs/ios/guides/embedded-paywalls-in-scrollviews): Embed an inline paywall in a scrollable article and optionally present a second full-screen paywall for additional plans. - [Experimental Flags](/docs/ios/guides/experimental-flags): Turn on Superwall iOS experimental flags in SuperwallOptions to filter campaigns by subscription period type, subscription state and auto-renew status. - [Handling Deep Links](/docs/ios/guides/handling-deep-links): Use handleDeepLink and campaign rules to present paywalls from deep links without hardcoding logic in your app. - [Overriding Introductory Offer Eligibility](/docs/ios/guides/intro-offer-eligibility-override): Control when users see free trials and intro offers on your paywalls by overriding the default eligibility logic. - [Local Resources](/docs/ios/guides/local-resources): Bundle images, videos, and other media in your app for use in paywalls, enabling faster load times and offline support. - [Native macOS Support](/docs/ios/guides/macos): Add Superwall paywalls to a native AppKit or SwiftUI Mac app, configure purchases and Customer Center, and test window presentation and deep links. - [Migrating from v2 to v3 - iOS](/docs/ios/guides/migrations/migrating-to-v3): SuperwallKit 3.0 is a major release of Superwall's iOS SDK, previously known as `Paywall`. This introduces breaking changes. - [Migrating from v3 to v4 - iOS](/docs/ios/guides/migrations/migrating-to-v4): SuperwallKit 4.0 is a major release of Superwall's iOS SDK. This introduces breaking changes. - [StoreKit 1 vs StoreKit 2](/docs/ios/guides/storekit-versions): Choose StoreKit 1 or StoreKit 2 in the Superwall iOS SDK. See the default, when the SDK uses StoreKit 1 anyway, and which features need StoreKit 2. - [Using Superwall Deep Links](/docs/ios/guides/superwall-deep-links): How to use Superwall Deep Links to trigger paywalls or custom in-app behavior. - [Test Mode](/docs/ios/guides/test-mode): Simulate in-app purchases without StoreKit using test mode, which lets you test your entire paywall flow end-to-end. - [Setting up StoreKit testing](/docs/ios/guides/testing-purchases): Test in-app purchases on Superwall iOS paywalls locally: set up a StoreKit configuration file and scheme in Xcode, then use Transaction Manager. - [Using RevenueCat](/docs/ios/guides/using-revenuecat): Use RevenueCat with Superwall on iOS: build a PurchaseController that handles purchases and restores and syncs entitlements, or use PurchasesAreCompletedBy. - [Using the Superwall Delegate](/docs/ios/guides/using-superwall-delegate): Set the SuperwallDelegate on iOS to handle Superwall events, custom paywall actions, subscription status changes and paywall present or dismiss events. - [Using your own backend](/docs/ios/guides/using-your-own-backend): If you handle subscription logic and receipt validation on your own backend, follow this guide to keep Superwall in sync. - [watchOS and tvOS Support](/docs/ios/guides/watchos-tvos): Track purchases, subscription status and entitlements on Apple Watch and Apple TV with SuperwallKit, and handle placements without paywall presentation. - [Web Checkout](/docs/ios/guides/web-checkout): Integrate Superwall web checkout with your iOS app for seamless cross-platform subscriptions - [Redeeming In-App](/docs/ios/guides/web-checkout/linking-membership-to-iOS-app): Handle a deep link in your app and use the delegate methods. - [Post-Checkout Redirecting](/docs/ios/guides/web-checkout/post-checkout-redirecting): Learn how to handle users redirecting back to your app after a web purchase. - [Using RevenueCat](/docs/ios/guides/web-checkout/using-revenuecat): Handle a deep link in your app and use the delegate methods to link web checkouts with RevenueCat. - [Welcome](/docs/ios): Welcome to the Superwall iOS SDK documentation - [Configure the SDK](/docs/ios/quickstart/configure): Configure the Superwall iOS SDK at app launch in UIKit or SwiftUI with your Public API Key from the dashboard, and optionally pass a PurchaseController. - [Presenting Paywalls](/docs/ios/quickstart/feature-gating): Control access to premium features with Superwall placements - [Handling Deep Links](/docs/ios/quickstart/in-app-paywall-previews): Set up deep links in your iOS app with a URL scheme or Universal Links, pass them to Superwall's handleDeepLink, and preview paywalls on device by QR code. - [Install the SDK](/docs/ios/quickstart/install): Install the Superwall iOS SDK (SuperwallKit) with Swift Package Manager or CocoaPods, check the iOS and Xcode version requirements, and import it in Swift. - [Setting User Attributes](/docs/ios/quickstart/setting-user-properties): Customize paywalls and target users by setting user attributes - [Tracking Subscription State](/docs/ios/quickstart/tracking-subscription-state): Monitor user subscription status in your iOS app - [User Management](/docs/ios/quickstart/user-management): Identifying users and managing their identity in your iOS app - [NonSubscriptionTransaction](/docs/ios/sdk-reference/NonSubscriptionTransaction): Represents a non-subscription transaction (consumables and non-consumables). - [PaywallOptions](/docs/ios/sdk-reference/PaywallOptions): Configuration for paywall presentation and behavior in the Superwall iOS SDK. - [PaywallPresentationHandler](/docs/ios/sdk-reference/PaywallPresentationHandler): A handler class that provides status updates for paywall presentation in register() calls. - [PurchaseController](/docs/ios/sdk-reference/PurchaseController): A protocol for handling Superwall's subscription-related logic with your own purchase implementation. - [SubscriptionTransaction](/docs/ios/sdk-reference/SubscriptionTransaction): Represents a subscription transaction in the customer's purchase history. - [Superwall](/docs/ios/sdk-reference/Superwall): The shared instance of Superwall that provides access to all SDK features. - [SuperwallDelegate](/docs/ios/sdk-reference/SuperwallDelegate): A protocol that handles Superwall lifecycle events and analytics. - [SuperwallEvent](/docs/ios/sdk-reference/SuperwallEvent): An enum representing analytical events that are automatically tracked by Superwall. - [SuperwallOptions](/docs/ios/sdk-reference/SuperwallOptions): A configuration class for customizing paywall appearance and behavior. - [getPaywall()](/docs/ios/sdk-reference/advanced/getPaywall): A function that retrieves a PaywallViewController for custom presentation. - [configure()](/docs/ios/sdk-reference/configure): A static function that configures a shared instance of Superwall for use throughout your app. - [confirmAllAssignments](/docs/ios/sdk-reference/confirmAllAssignments): Confirms all experiment assignments and returns them in an array. - [customerInfo](/docs/ios/sdk-reference/customerInfo): Contains the latest information about all of the customer's purchase and subscription data. - [entitlements](/docs/ios/sdk-reference/entitlements): The entitlements tied to the device, accessible via Superwall.shared.entitlements. - [getCustomerInfo](/docs/ios/sdk-reference/getCustomerInfo): Gets the latest CustomerInfo asynchronously. - [getDeviceAttributes](/docs/ios/sdk-reference/getDeviceAttributes): Gets properties stored about the device that are used in audience filters. - [getPresentationResult()](/docs/ios/sdk-reference/getPresentationResult): Check the outcome of a placement without presenting a paywall. - [handleDeepLink()](/docs/ios/sdk-reference/handleDeepLink): A function that handles deep links and triggers paywalls based on configured campaigns. - [identify()](/docs/ios/sdk-reference/identify): A function that creates an account with Superwall by linking a userId to the automatically generated alias. - [Overview](/docs/ios/sdk-reference): Reference documentation for the Superwall iOS SDK. - [integrationAttributes](/docs/ios/sdk-reference/integrationAttributes): Gets the current integration attributes that have been set. - [localResources](/docs/ios/sdk-reference/localResources): Register local resources so paywalls can load bundled media by resource ID. - [refreshConfiguration](/docs/ios/sdk-reference/refreshConfiguration): Manually refreshes the Superwall configuration. Intended for development and wrapper SDKs. - [refreshCustomerInfo](/docs/ios/sdk-reference/refreshCustomerInfo): Fetch the user's latest entitlements from Superwall after your server reports a purchase, and get updated CustomerInfo with async/await or a completion handler. - [register()](/docs/ios/sdk-reference/register): A function that registers a placement that can be remotely configured to show a paywall and gate feature access. - [setIntegrationAttributes](/docs/ios/sdk-reference/setIntegrationAttributes): Sets integration attributes for third-party analytics and attribution providers. - [setUserAttributes()](/docs/ios/sdk-reference/setUserAttributes): A function that sets user attributes for use in paywalls and analytics on the Superwall dashboard. - [subscriptionStatus](/docs/ios/sdk-reference/subscriptionStatus): A published property that indicates the subscription status of the user. - [userId](/docs/ios/sdk-reference/userId): A property on Superwall.shared that returns the current user's ID.