purchases / com.revenuecat.purchases / getEntitlementsWith


fun Purchases.getEntitlementsWith(onError: ErrorFunction = onErrorStub, onSuccess: ReceiveEntitlementsSuccessFunction): Unit

Fetch the configured entitlements for this user. Entitlements allows you to configure your in-app products via RevenueCat and greatly simplifies management. See the guide for more info.

Entitlements 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.


onSuccess - Will be called after a successful fetch of entitlements

onError - Will be called after an error fetching entitlements