Releases: adaptyteam/AdaptySDK-Flutter
Releases · adaptyteam/AdaptySDK-Flutter
3.3.0
⚠️ Breaking Changes
Activation
- You no longer need to activate AdaptyUI separately, as it is now handled automatically during the usual activation process. Use
.withMediaCacheConfiguration
in AdaptyConfiguration if you wish to override the default settings:
await Adapty().activate(
configuration: AdaptyConfiguration(apiKey: 'YOUR_API_KEY')
..withMediaCacheConfiguration(...),
);
Integrations and Attribution Configuration. Read More.
-
New Method for Setting Integration Identifiers:
- Introduced
setIntegrationIdentifier(key:value:)
:- Previously, integrations were configured using the
updateProfile
method, passing integration IDs to the builder. - Now, use
setIntegrationIdentifier
to set integration identifiers with akey
andvalue
.
- Previously, integrations were configured using the
- Introduced
-
Updated
updateAttribution
Method:- The
source
parameter is now aString
instead of an enum. - The
networkUserId
parameter has been removed. UsesetIntegrationIdentifier
to set thenetworkUserId
instead.
- The
Observer Mode. Read More.
‼️ Transactions must now be explicitly reported when using Observer Mode:- Replace calls to
setVariationId()
withreportTransaction(transactionId:,variationId:)
after everytransaction.finish()
. - The
variationId
parameter inreportTransaction
is now optional.
- Replace calls to
Full Changelog: 3.2.5...3.3.0
3.2.5
- [iOS] Fix errors in Xcode 15.0
- [iOS] Fix an issue where an unwanted profile was sometimes created after the
identify
method was called
Full Changelog: 3.2.4...3.2.5
3.2.4
3.2.3
- AdaptyUI: Internal improvements to paywall rendering
- Fixed an issue where
isActivated()
method returned incorrect value - Fixed an issue where
content
field ofAdaptyUIDialog
was not displaying correctly - Fixed an issue with
subscriptionUpdateParams
wrong serialization (by @Eittipat in #125) - Added
setupAfterHotRestart
method to Adapty and AdaptyUI which allows you to initialize the plugin after hot restart. Please checkisActivated
before calling this method. Please consider using this method in debug builds only to avoid any unexpected issues in release builds.
Full Changelog: 3.2.2...3.2.3
3.2.2
- added missing models exports
Full Changelog: 3.2.1...3.2.2
3.2.1
AdaptyErrorCode
changefinal
toconst
- Android plugin fix
Full Changelog: 3.2.0...3.2.1
3.2.0
🎉 Meet the Adapty Flutter SDK 3.2.0!
With this version we're introducing support for the new paywall builder that offers more templates and layout flexibility. Note that:
- This version doesn't support paywalls created in the legacy (current) paywall builder
- But you can easily migrate those with a single press of a button in Adapty Dashboard
- This version also offers complete support of StoreKit 2 and Swift 6 on the iOS side. See more here.
- Added support for win-back offers. Read More.
Breaking Changes:
- Adapty and AdaptyUI are now a single module, so you don't need to import them separately
- The
activate
method now requires you to pass theapiKey
and other parameters explicitly. Automatic activation using values from a file is no longer supported. makePurchase
now returnsAdaptyPurchaseResult
instead ofAdaptyPurchasedInfo
.getProductsIntroductoryOfferEligibility(products:)
has been removed. ThegetPaywallProducts
function now returns a product object with prepopulated offer information. Consider using thegetPaywallProductsWithoutDeterminingOffer(paywall:)
method if you need to load products without determining offer eligibilities.paywallViewDidFinishPurchase
now acceptsAdaptyPurchaseResult
instead ofAdaptyPurchasedInfo
.paywallViewDidSelectProduct
now acceptsString
(productId) instead ofAdaptyPaywallProduct
.paywallViewDidCancelPurchase
has been removed. Please use thepurchaseResult
frompaywallViewDidFinishPurchase
to detect purchase cancellations.