# 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 # Android 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, Unity, 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/android/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) - [Agents Documentation](/docs/agents/llms.txt) - [iOS Documentation](/docs/ios/llms.txt) - [Flutter Documentation](/docs/flutter/llms.txt) - [Expo Documentation](/docs/expo/llms.txt) - [Unity Documentation](/docs/unity/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/android/changelog): Release notes for the Superwall Android SDK - [Cohorting in 3rd Party Tools](/docs/android/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/android/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/android/guides/3rd-party-analytics) - [Superwall Events](/docs/android/guides/3rd-party-analytics/tracking-analytics): The SDK automatically tracks some events, which power the charts in the dashboard. - [Advanced Purchasing](/docs/android/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/android/guides/advanced/custom-callbacks): Handle custom callback requests from paywalls to run app-side logic and return results. - [Custom Paywall Actions](/docs/android/guides/advanced/custom-paywall-actions) - [Purchasing Products Outside of a Paywall](/docs/android/guides/advanced/direct-purchasing) - [Game Controller Support](/docs/android/guides/advanced/game-controller-support) - [Observer Mode](/docs/android/guides/advanced/observer-mode) - [Retrieving and Presenting a Paywall Yourself](/docs/android/guides/advanced/presenting-paywalls) - [Request permissions from paywalls](/docs/android/guides/advanced/request-permissions-from-paywalls): Trigger Android runtime permission dialogs directly from a Superwall paywall action. - [Device Tier Targeting](/docs/android/guides/advanced/using-device-tiers-on-android): Target users based on their device performance capabilities to optimize paywall experiences across different hardware tiers. - [Using the Presentation Handler](/docs/android/guides/advanced/using-the-presentation-handler) - [Viewing Purchased Products](/docs/android/guides/advanced/viewing-purchased-products) - [Advanced Configuration](/docs/android/guides/configuring): When configuring the SDK you can pass in options that configure Superwall, the paywall presentation, and its appearance. - [Consumable Products](/docs/android/guides/consumable-products): Set up consumable products for Superwall paywalls on Android. - [Experimental Flags](/docs/android/guides/experimental-flags) - [Handling Deep Links](/docs/android/guides/handling-deep-links): Use handleDeepLink and campaign rules to present paywalls from deep links without hardcoding logic in your app. - [Local Resources](/docs/android/guides/local-resources): Bundle images, videos, and other assets in your app so paywalls can load them instantly from the device. - [Migrating from v1 to v2 - Android](/docs/android/guides/migrations/migrating-to-v2): SuperwallKit 2.0 is a major release of Superwall's Android SDK. This introduces breaking changes. - [Test Mode](/docs/android/guides/test-mode): Simulate in-app purchases without Google Play using test mode, which lets you test your entire paywall flow end-to-end. - [Using RevenueCat](/docs/android/guides/using-revenuecat) - [Using the Superwall Delegate](/docs/android/guides/using-superwall-delegate) - [Using your own backend](/docs/android/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. - [Vibe Coding](/docs/android/guides/vibe-coding): How to Vibe Code using the knowledge of the Superwall Docs - [Web Checkout](/docs/android/guides/web-checkout): Integrate Superwall web checkout with your iOS app for seamless cross-platform subscriptions - [Redeeming In-App](/docs/android/guides/web-checkout/linking-membership-to-iOS-app): Handle a deep link in your app and use the delegate methods. - [Post-Checkout Redirecting](/docs/android/guides/web-checkout/post-checkout-redirecting): Learn how to handle users redirecting back to your app after a web purchase. - [Using RevenueCat](/docs/android/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/android): Welcome to the Superwall Android SDK documentation - [Configure the SDK](/docs/android/quickstart/configure) - [Presenting Paywalls](/docs/android/quickstart/feature-gating): Control access to premium features with Superwall placements. - [Handling Deep Links](/docs/android/quickstart/in-app-paywall-previews) - [Install the SDK](/docs/android/quickstart/install): Install the Superwall Android SDK via Gradle. - [Setting User Attributes](/docs/android/quickstart/setting-user-properties) - [Tracking Subscription State](/docs/android/quickstart/tracking-subscription-state): Here's how to view whether or not a user is on a paid plan in Android. - [User Management](/docs/android/quickstart/user-management) - [PaywallOptions](/docs/android/sdk-reference/PaywallOptions): Configuration for paywall presentation and behavior in the Superwall Android SDK. - [PurchaseController](/docs/android/sdk-reference/PurchaseController): An interface for handling Superwall's subscription-related logic with your own purchase implementation. - [Superwall](/docs/android/sdk-reference/Superwall): The shared instance of Superwall that provides access to all SDK features. - [SuperwallDelegate](/docs/android/sdk-reference/SuperwallDelegate): An interface that handles Superwall lifecycle events and analytics. - [SuperwallEvent](/docs/android/sdk-reference/SuperwallEvent): A sealed class representing analytical events that are automatically tracked by Superwall. - [SuperwallOptions](/docs/android/sdk-reference/SuperwallOptions): A configuration class for customizing paywall appearance and behavior. - [PaywallBuilder](/docs/android/sdk-reference/advanced/PaywallBuilder): A builder class for creating custom PaywallView instances for advanced presentation. - [setSubscriptionStatus()](/docs/android/sdk-reference/advanced/setSubscriptionStatus): A function that manually sets the subscription status when using a custom PurchaseController. - [configure()](/docs/android/sdk-reference/configure): A static function that configures a shared instance of Superwall for use throughout your app. - [getPresentationResult()](/docs/android/sdk-reference/getPresentationResult): Check the outcome of a placement without presenting a paywall. - [handleDeepLink()](/docs/android/sdk-reference/handleDeepLink): A function that handles deep links and triggers paywalls based on configured campaigns. - [identify()](/docs/android/sdk-reference/identify): A function that creates an account with Superwall by linking a userId to the automatically generated alias. - [Overview](/docs/android/sdk-reference): Reference documentation for the Superwall Android SDK. - [localResources](/docs/android/sdk-reference/localResources): Register Android resources or file URIs so paywalls can load local media by resource ID. - [register()](/docs/android/sdk-reference/register): A function that registers a placement that can be remotely configured to show a paywall and gate feature access. - [setUserAttributes()](/docs/android/sdk-reference/setUserAttributes): A function that sets user attributes for use in paywalls and analytics on the Superwall dashboard. - [subscriptionStatus](/docs/android/sdk-reference/subscriptionStatus): A StateFlow property that indicates the subscription status of the user. - [userId](/docs/android/sdk-reference/userId): A property on Superwall.instance that returns the current user's ID.