Overview
You still pick the product in App Store Connect and the Encore Dashboard exactly as in Add Subscription Product. What changes with RevenueCat is how the purchase completes and how RevenueCat learns about it.Route the purchase through RevenueCat
RegisteronPurchaseRequest() at app launch. Encore hands your handler the configured product id and RevenueCat performs the purchase, so its entitlements update the way they do for any other RevenueCat sale:
Or let RevenueCat observe a StoreKit purchase
Without anonPurchaseRequest handler, Encore purchases through StoreKit 2 itself. Configure RevenueCat to observe purchases your app completes and it detects the transaction:
No
onPurchaseComplete() handler is needed. RevenueCat detects the StoreKit transaction itself.Next
- Configure Analytics - forward RevenueCat’s subscription events to Encore