Skip to content

Releases: adaptyteam/AdaptySDK-Flutter

2.2.3

30 Dec 20:51
Compare
Choose a tag to compare
  • Added integration with Firebase and Google Analytics. Read more.
  • [Android] Fixed a bug when products returned in a wrong order

2.2.2

23 Dec 11:01
Compare
Choose a tag to compare
  • [iOS] Fixed a bug when some additional purchase parameters were not sent in Observer Mode.

2.2.1

16 Dec 09:39
Compare
Choose a tag to compare
  • [Android] fixed parsing error for free trial fields.
  • Updated errors documentation.

2.2.0

12 Dec 15:51
a055483
Compare
Choose a tag to compare

Meet the second version of the Adapty SDK 🎉

See our What's new in Adapty Flutter SDK 2.0 doc for API updates.
Adapty 2.0 introduces the following updates:

Breaking changes:

  • Adapty now is singleton. Use Adapty().someMethodCall() instead of Adapty.someMethodCall()
  • User-initiated purchases are now automatically processed by the system, so we have removed the deferredPurchasesStream and makeDeferredPurchase() method.
  • We are no longer support Visual Paywalls and Promo Campaigns features, so you should remove the calls to the corresponding methods, if there were any
  • Instead of getting all paywalls in one request with the .getPaywalls(), it must be done separately for each paywall using .getPaywall(id:)
  • Products are no longer part of the paywall, they must be loaded separately with .getPaywallProducts(paywall:)
  • It is no longer possible to use products outside of the paywall. If you need to handle a product, create a separate paywall for it (or for multiple products).
  • introductoryOfferEligibility – instead of true/false we give a more extended list of options
  • The AdaptyProfileParametersBuilder is redesigned:
    • Methods, related to custom attributes now can throw an exception, if key or value didn't pass validation
    • Added an option to pass null values to builder functions for more convenience
    • You can now remove customAttributes with the function .removeCustomAttribute("key")
    • You have to use .build() method and pass resulting AdaptyProfileParameters object to .updateProfile method
  • .setAnalyticsDisabled() method has been eliminated. Use the .setAnalyticsDisabled method of AdaptyProfileParametersBuilder.
  • The forceUpdate parameter was removed from the getPaywall method. The result will always be up to date if it is possible to retrieve data from the server

Renames

  • PurchaserInfo renamed to AdaptyProfile
  • .getPurchaserInfo renamed to .getProfile
  • didReceivePurchaserInfoStream was also renamed to .didUpdateProfileStream
  • developerId field of AdaptyPaywall was renamed to id
  • AdaptyAttributionNetwork renamed to AdaptyAttributionSource

Fixes

  • Fixed wrong behavior of fallback paywalls in some cases
  • .setFallbackPaywalls() method now does not return errors related to StoreKit product retrieval
  • Incorrect user segmentation in some rare cases

Additions:

  • Ability to log onboard screens with .logShowOnboarding(). Read more
  • Added ability to get previously set customAttributes, now it is part of AdaptyProfile

Under the hood:

  • The server interaction layer was rewritten from scratch.
  • The initial request sequence has been optimized and simplified
  • Reduced the number of API calls made by SDK. Some of the request are now faster and transfer less data.
  • Independent requests can be executed simultaneously
  • StoreKit interaction layer was refactored

Full documentation can be found in here.

1.0.14

30 Jul 14:36
Compare
Choose a tag to compare
  • Fixed type cast in the makeDeferredPurchase method (Issue #36)

1.0.13

27 Jul 08:57
Compare
Choose a tag to compare
  • Upgraded with iOS SDK version 1.17.7 and Android SDK version 1.11.0

1.0.12

27 Jun 12:01
Compare
Choose a tag to compare
  • [Android] fixed localized properties

1.0.11

07 Jun 15:55
Compare
Choose a tag to compare
  • Support for Flutter 3.0

1.0.10

08 Apr 14:45
Compare
Choose a tag to compare
  • Ability to use Adapty-Info.plist for storing initialization parameters

1.0.9

24 Dec 14:18
Compare
Choose a tag to compare
  • The getPromo method now works for Android Issue 34
  • Fixed typo in word "deferred" Issue 35