Skip to main content

No-Codes support

Qonversion No-Codes are now officially released! For integration steps, please follow our documentation.

Automation removal

We have switched from the Automations support to the new No-Codes Builder, so all the Automations methods were completely removed. Please, consider migrating to the new No-Codes - they are very simple and much more functional!

Upgrading library

We’ve migrated the library to the Qonversion organization in NPM, so along with the version update, you should also change the name of the library and all the imports. In your package.json file, upgrade the name and the version of the Qonversion SDK:
// Before
// "cordova-plugin-qonversion": "^6.0.0"

// Now
"@qonversion/cordova-plugin": "^7.0.0"

New purchase method

We have refactored the purchase method - now it returns comprehensive information, including status, entitlements after the purchase, error information if it happened, and also stores transaction info. After upgrading to this version, rewrite your purchase calls as follows:
try {
  // Old method returned only Map<string, Entitlement>
  const entitlements = await Qonversion.getSharedInstance().purchase(product, purchaseOptions);

  // Check for entitlement
  const premiumEntitlement = entitlements.get('premium');
  if (premiumEntitlement?.isActive) {
    console.log('Purchase successful! Premium access granted.');
  }
} catch (error) {
  // All errors, including user cancellation, were handled via catch
  if (error.code === Qonversion.QonversionErrorCode.PURCHASE_CANCELED) {
    console.log('User canceled the purchase');
  } else {
    console.error('Purchase failed:', error.message);
  }
}
If you were using updatePurchase (for Android), migrate as follows:
try {
  // Created a special model for updates
  const purchaseUpdateModel = product.toPurchaseUpdateModel(
    oldProduct, // Current subscription product
    Qonversion.PurchaseUpdatePolicy.WITH_TIME_PRORATION  // Update policy
  );
  
  const entitlements = await Qonversion.getSharedInstance().updatePurchase(purchaseUpdateModel);
  
  const premiumEntitlement = entitlements?.get('premium');
  if (premiumEntitlement?.isActive) {
    console.log('Subscription upgraded successfully!');
  }
} catch (error) {
  if (error.code === Qonversion.QonversionErrorCode.PURCHASE_CANCELED) {
    console.log('User canceled the upgrade');
  } else {
    console.error('Upgrade failed:', error.message);
  }
}

Google Play Billing Library upgrade to version 8

In this version, we’ve upgraded Google Play Billing Library on Android to version 8.1.0, which results in skuDetails removal from Product and also requires setting up Base Plan ID for all the subscription products in the Qonversion Dashboard, if you haven’t set them yet. Read more here.

Properties renamings

We’ve made a couple of renamings of our DTO properties to sync them with the rest codestyle. If you were using these fields, simply upgrade their names as described in the table below
Old nameNew name
Product.qonversionIDProduct.qonversionId
Product.storeIDProduct.storeId
Product.basePlanIDProduct.basePlanId

Google Play Service Account Key [Jan 2026] Migration guide. Capacitor 1.