Releases: qonversion/flutter-sdk
Releases · qonversion/flutter-sdk
9.2.1
9.2.0
What's new
- Minimal supported Dart SDK version is bumped to 2.14.0.
- iOS promotional offers supported.
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.
var promo = subscriptionProduct.skProduct?.discounts?.firstWhereOrNull(
(discount) => discount.identifier == 'my_promo_offer_id'
);
if (promo != null) {
var promoOffer = await Qonversion.getSharedInstance().getPromotionalOffer(subscriptionProduct, promo);
// handle promo offer here
}
} on Exception catch (e) {
// handle error here
}
Then make a purchase using this promo offer.
var purchaseOptions = QPurchaseOptionsBuilder()
.setPromotionalOffer(promoOffer)
.build();
var entitlements = await Qonversion.getSharedInstance().purchaseProduct(
subscriptionProduct,
purchaseOptions: purchaseOptions
);
9.1.5
What's new
- Fixed popover presentation style for iPad
- Attempt to fix crash and race conditions in the User Properties manager.
9.1.4
What's new
- Added Tenjin AIID property for Tenjin integration
- The
setNotificationToken
,handleNotification
, andgetNotificationCustomPayload
methods were marked as deprecated. - Improved the accuracy of syncHistoricalData analytics on iOS.
- Fixed the compatibility issue with the latest Adjust SDK versions on iOS.
9.1.3
What's new
- Updated restore logic to process huge sandbox receipts faster.
- Fixed products issue.
- Fixed bundle issue.
9.1.2
What's new
- Added ability to call purchase without providing any options.
9.1.1
What's new
- iOS error codes improved,
- Sample app upgraded to use the latest Flutter and Dart versions.
9.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.
- Fixed threads usage warning for iOS.
9.0.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.
8.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.