Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
const products = await Qonversion.getSharedInstance().products(); const product = products.get("your_product_id");
const result = await Qonversion.getSharedInstance().purchase(product); if (result.isSuccess) { const premium = result.entitlements?.get('premium'); if (premium && premium.isActive) { // Grant user access to premium features } } else if (result.isCanceled) { // Handle canceled purchase } else if (result.isPending) { // Handle pending purchase } else { // Handle errors }