Search code examples
swiftin-app-purchaserevenuecat

Understanding Entitlements and Offering Configurations


What would be the right configuration in RevenueCat in the following two scenarios...

  1. What would be the right configuration if I have a non-consumable in-app purchase and an Auto Renewable Subscription? Do I need two separate Entitlements with an Offering on each one?

  2. What would be the right configuration if I have a non-consumable in-app purchase and two Auto Renewable Subscriptions (a monthly and yearly)? Do I need two Entitlements, one for the Auto Renewable Subscriptions which would contain two Offerings and one for the non-consumables which would contain one offering?

Thanks!


Solution

  • Entitlements should be thought of as access levels (e.g. "Pro", "Pro Plus"), and Offerings are different ways to purchase that access level (e.g. "Monthly", "Annual", "Lifetime"). For your specific questions:

    1. If the non-consumable and subscription IAP unlock the same content in your app then you would have one Entitlement (e.g. "pro") with two Offerings (e.g. "lifetime" and "monthly").

    2. Similar to #1, if all the products unlock the same content then you would have one Entitlement (e.g. "pro") with three Offerings (e.g. "lifetime", "monthly" and "annual").