Documentation Index
Fetch the complete documentation index at: https://docs.encorekit.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Encore works alongside Superwall so you can present retention offers at key moments in your paywall flow.Presenting Offers
Option 1: On Paywall Dismissal
Trigger Encore when a user dismisses your Superwall paywall without converting:Option 2: Custom Paywall Action
Create/Update the Superwall delegate to handle custom actions from your paywall:Handle Offer Results
Register handlers at app launch so Encore can delegate purchases to Superwall.Register onPurchaseRequest
Register onPassthrough
Called when the user dismisses the offer or no offers are available. Use this to resume the user’s original action.
Alternative: Automatic StoreKit Purchase
If you don’t setonPurchaseRequest, Encore purchases via native StoreKit 2 automatically. Superwall can observe these transactions automatically.
Setup
- Configure Superwall to observe purchases:
No
onPurchaseComplete handler is needed — Superwall auto-detects StoreKit transactions in observer mode.Configure Analytics
Forward subscription events from Superwall to Encore
Configure Superwall to forward subscription events to Encore. In your Superwall dashboard:- Go to Integrations -> Webhooks -> Create
- URL:
https://encorekit.com/webhook/superwall/<your-token>(Encore staff will provide your token during onboarding) - Copy the signing secret from Superwall and share it securely with Encore (used for HMAC verification on inbound events)
Available now — share your Superwall project details with Encore to receive your endpoint token.