Instance Method

getOfferings(completion:)

Fetch the configured Offerings for this user.

Declaration

@objc func getOfferings(completion: @escaping (Offerings?, Error?) -> Void)

Parameters

completion

A completion block called when offerings are available. Called immediately if offerings are cached. Offerings will be nil if an error occurred.

Discussion


 *``Offerings`` allows you to configure your in-app products

via RevenueCat and greatly simplifies management.

Offerings will be fetched and cached on instantiation so that, by the time they are needed, your prices are loaded for your purchase flow. Time is money.

See Also

Displaying Products