Skip to content

Releases: adaptyteam/AdaptySDK-Flutter

3.3.0

31 Dec 18:41
Compare
Choose a tag to compare

⚠️ 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 a key and value.
  • Updated updateAttribution Method:

    • The source parameter is now a String instead of an enum.
    • The networkUserId parameter has been removed. Use setIntegrationIdentifier to set the networkUserId instead.

Observer Mode. Read More.

  • ‼️ Transactions must now be explicitly reported when using Observer Mode:
    • Replace calls to setVariationId() with reportTransaction(transactionId:,variationId:) after every transaction.finish().
    • The variationId parameter in reportTransaction is now optional.

Full Changelog: 3.2.5...3.3.0

3.2.5

18 Dec 19:29
Compare
Choose a tag to compare
  • [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

13 Dec 17:33
Compare
Choose a tag to compare
  • [iOS] Added support for Xcode 16.2
  • [iOS] Fixed support for Xcode 15.x

3.2.3

05 Dec 14:49
Compare
Choose a tag to compare
  • AdaptyUI: Internal improvements to paywall rendering
  • Fixed an issue where isActivated() method returned incorrect value
  • Fixed an issue where content field of AdaptyUIDialog 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 check isActivated 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

22 Nov 11:33
Compare
Choose a tag to compare
  • added missing models exports

Full Changelog: 3.2.1...3.2.2

3.2.1

20 Nov 17:01
Compare
Choose a tag to compare
  • AdaptyErrorCode change final to const
  • Android plugin fix

Full Changelog: 3.2.0...3.2.1

3.2.0

19 Nov 23:33
Compare
Choose a tag to compare

🎉 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 the apiKey and other parameters explicitly. Automatic activation using values from a file is no longer supported.
  • makePurchase now returns AdaptyPurchaseResult instead of AdaptyPurchasedInfo.
  • getProductsIntroductoryOfferEligibility(products:) has been removed. The getPaywallProducts function now returns a product object with prepopulated offer information. Consider using the getPaywallProductsWithoutDeterminingOffer(paywall:) method if you need to load products without determining offer eligibilities.
  • paywallViewDidFinishPurchase now accepts AdaptyPurchaseResult instead of AdaptyPurchasedInfo.
  • paywallViewDidSelectProduct now accepts String (productId) instead of AdaptyPaywallProduct.
  • paywallViewDidCancelPurchase has been removed. Please use the purchaseResult from paywallViewDidFinishPurchase to detect purchase cancellations.

2.10.3

26 Sep 14:43
Compare
Choose a tag to compare
  • Support for Flutter 3.22+

2.10.2

22 Aug 17:57
Compare
Choose a tag to compare
  • Support for Flutter 3.22+

2.10.1

05 Apr 14:40
Compare
Choose a tag to compare
  • Support for Adapty iOS SDK 2.10.3
  • Support for Adapty Android SDK 2.10.4