Skip to main content
You can check subscription status and manage user access to the premium content on your app by checking user entitlements with the checkEntitlements() method. Entitlement is access to the premium features of your application. → Read more about creating and using entitlements here. You need to call the checkEntitlements() method at the start of your app to check if a user has the required entitlement. This method will check the user’s receipt and return current entitlements. In addition, Qonversion can manage cross-platform entitlements with the user Identity concept (e.g. after your users subscribe using the IOS app, you can use Qonversion to check their entitlements in your Android or Web applications)
Qonversion SDK caches all required data on products and entitlements. The data is still immediately available when the internet connection is lost, or there are server-side delays.
Note, please, that the entitlement object is available only in case the user has made a purchase, or you granted the entitlement manually using the Customer tab or Grant Entitlement API. In other cases, you will receive an empty result.

The Entitlement Object

  • The second one is the first paid transaction, trial converted.
  • All the other - subscription renew transactions, thus renewsCount is equal to 18. | | grantType | Grant type of entitlement- purchase: User bought a subscription -familySharing: User got entitlement via family sharing
  • offerCode: User got entitlement using offer code
  • manual: User got entitlement via Qonversion dashboard feature | | lastActivatedOfferCode | The last activated offer code that unlocks the current entitlement. | | transactions | An array of Transaction objects that contains information about transactions that unlocked current entitlement. |

The Transaction object

  • production | | ownershipType | Type of the ownership for the transaction:- owner- User owns the transaction
  • familySharing- User got transaction via family sharing | | type | Type of the transaction:- subscriptionStarted
  • subscriptionRenewed
  • trialStarted
  • introStarted
  • introRenewed
  • nonConsumablePurchase |

Making Purchases Offline SDK mode