Skip to main content
Qonversion SDK provides flexible cross-platform in-app purchase management for your app. You don’t need to save App Stores product IDs and respective prices on the client side. To manage in-app products promoted in your app from the Qonversion dashboard, you need to configure Products and Entitlements in Qonversion. Once you have everything configured, Qonversion provides the following ways of displaying products:

Local cache

Qonversion SDK caches the data on products and entitlements. This data is available when the internet connection is lost or there are server-side delays. Every time your application launches, SDK requests actual SkProduct/SkuDetails from the App Store or Google Play to get the most up-to-date product data.

Get The List of Available Products

Use the products method to get the list of the products available:
The method returns the following two vars:
  • productsList – dictionary with available products
  • error - error
Qonversion Product IDs are the keys to the products’ dictionary objects. The values are the objects of the Qonversion.Product class. Qonversion.Product contains the following data:

Trial and introductory offer eligibility

You can check if a user is eligible for an introductory offer, including a free trial. It is calculated differently for iOS and Android users. On iOS, users who have not previously used an introductory offer for any products in the same subscription group are eligible for an introductory offer. On Android, eligibility is computed based on the store details. If Google Play Billing Library returned any of the trial or intro offers as a possible purchase option for a specific product, then it means that the user is eligible for it. You can show only a regular price for users not eligible for an introductory offer. Use the following function to determine eligibility:

Create Products Making Purchases