Releases: qonversion/cordova-plugin
Releases · qonversion/cordova-plugin
6.3.1
6.3.0
What's new
- iOS promotional offers support
To load the promo offer data, call the following function.
try {
// You can obtain the product and discount in any other way. This approach is used here as an example.
const promo = subscriptionProduct.skProduct?.discounts.find(discount =>
discount.identifier === 'my_promo_offer_id'
);
const promoOffer = await Qonversion.getSharedInstance().getPromotionalOffer(subscriptionProduct, promo);
// handle promo offer here
} catch (e) {
// handle error here
}
Then make a purchase using this promo offer.
const purchaseOptions = new Qonversion.PurchaseOptionsBuilder()
.setPromotionalOffer(promoOffer))
.build();
const entitlements = await Qonversion.getSharedInstance().purchaseProduct(
subscriptionProduct,
purchaseOptions
);
6.2.0
What's new
- Qonversion Automations supported.
- Fixed updated entitlements listener multiple invocation issue.
6.1.4
What's new
- Fixed popover presentation style for iPad
- Attempt to fix crash and race conditions in the User Properties manager.
6.1.3
What's new
- Added Tenjin AIID property for Tenjin integration
- Improved the accuracy of syncHistoricalData analytics on iOS.
- Fixed the compatibility issue with the latest Adjust SDK versions on iOS.
6.1.2
What's new
- Updated restore logic to process huge sandbox receipts faster.
- Fixed products issue.
- Fixed bundle issue.
6.1.1
What's new
- Added ability to call purchase without providing any options.
- iOS error codes improved.
6.1.0
What's new
Purchase options
- Added option to set context keys, quantity and other options for purchases. Context keys will allow you to associate the purchase with remote configuration if the product info was loaded from there.
- Deprecated old purchase functions. Use new one instead.
6.0.1
What's new
- Fixed bug with
checkEntitlements
calls on Android when the callback might not have been called after subscription state changes during the app session.
5.5.2
What's new
- Fixed bug with
checkEntitlements
calls on Android when the callback might not have been called after subscription state changes during the app session.