EncorePurchaseController your app registers at configure() time. The SDK has no built-in billing and never runs purchase code you did not write: your controller owns receipt validation, restore handling, and entitlement bookkeeping, exactly as it does for every other purchase in your app.
Definition
.purchased on success, .cancelled when the user backs out, and .pending for deferred flows; throw for real failures. The result lands on the record as PublisherOutcome, and the controller is awaited inside the sheet lifetime, so the sheet reacts to the outcome, except on IAP-first variants, where the purchase runs before the sheet is presented.
PurchaseRequest
What your controller receives when Encore needs a purchase.Implementations
- StoreKit 2
- RevenueCat
- Adapty
- Custom
Related
- configure(), which accepts the controller and defines what happens when none is registered.
- PresentationResult, where the controller’s result lands as
PublisherOutcome. - Configure the SDK for the registration walkthrough.