Skip to content

Releases: adaptyteam/AdaptySDK-Unity

2.2.2

09 Feb 09:49
Compare
Choose a tag to compare
  • [Android] fix PaywallProduct deserialization error

2.2.1

07 Feb 17:15
Compare
Choose a tag to compare
  • [iOS] Fixed a bug that caused a new anonymous user to be created when migrating from earlier versions of the SDK.

2.2.0

20 Jan 13:13
Compare
Choose a tag to compare

Meet the second version of the Adapty SDK 🎉

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

Breaking changes:

  • User-initiated purchases are now automatically processed by the system, so we have removed the OnDeferredPurchasesProduct method from AdaptyEventListener.
  • 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 Adapty.ProfileParameters.Builder 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 Adapty.ProfileParameters object to .UpdateProfile method
  • .SetAnalyticsDisabled() method has been eliminated. Use the .SetAnalyticsDisabled method of Adapty.ProfileParameters.Builder.
  • 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
  • .OnReceiveUpdatedPurchaserInfo was also renamed to .OnLoadLatestProfile
  • DeveloperId field of AdaptyPaywall was renamed to Id
  • Adapty.AttributionNetwork renamed to Adapty.AttributionSource

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 Adapty.Profile

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.2

04 Aug 12:15
Compare
Choose a tag to compare
  • [Android] fixed builds errors

1.0.1

14 Jul 14:39
Compare
Choose a tag to compare
  • Logging system improvements

1.0.0

10 May 19:13
Compare
Choose a tag to compare

Initial release.