class Offerings This class contains all the offerings configured in RevenueCat dashboard. Offerings let you control which products are shown to users without requiring an app update.
class Offering An offering is a collection of
Packages, and they let you control which products are shown to users without requiring an app update.class Package Packages help abstract platform-specific products by grouping equivalent products across iOS, Android, and web. A package is made up of three parts:
identifier, packageType , and underlying StoreProduct .class StoreProduct Type that provides access to all of
StoreKit ‘s product type’s properties.class SubscriptionPeriod The duration of time between subscription renewals. Use the value and the unit together to determine the subscription period. For example, if the unit is
.month, and the value is 3, the subscription period is three months.func getOfferings (completion: (Offerings?, Error?) -> Void) Fetch the configured
Offerings for this user.func products([String]) async -> [StoreProduct ] Fetches the
StoreProduct s for your IAPs for given productIdentifiers .func getProducts ([String], completion: ([StoreProduct ]) -> Void) Fetches the
StoreProduct s for your IAPs for given productIdentifiers .