Skip to main content

Overview

Many apps use a paywall/subscription SDK (e.g., Superwall or RevenueCat) alongside Encore retention offers. This guide shows how to combine multiple sources into a single entitlement model for your app.
Core APIs used here: isActivePublisher, isActive, and EntitlementScope.

Purchase Routing

When using multiple subscription managers, you can route purchases inside your onPurchaseRequest handler based on product ID or configuration:
See onPurchaseRequest() for full handler documentation.

Superwall + RevenueCat

A minimal Combine setup that merges Superwall subscription state, RevenueCat entitlements, and Encore grants into one boolean.