Bot releases are hidden (Show)
Published by x401om 9 months ago
⚠️ Warning:
This version relies on StoreKit 2 instead of StoreKit 1. Starting from this version, you must connect your account to Apple In-App Purchase API in Adapty Dashboard. Otherwise, we won't be able to make or validate purchases.
New:
fetchPolicy
parameter into .GetPaywall()
methodloadTimeout
parameter into .GetPaywall()
methodRead More in our documentation.
Breaking Changes:
placementId
parameter has been added to the .GetPaywall
method, replacing the previously unnamed parameter id
. Read More
AdaptyEnableUsageLogs
of Adapty-Info.plist
is no longer supported, since this feature is enabled by default. Read More
AdaptyStoreKit2Usage
parameter to Adapty-Info.plist
, the default value will be .forIntroEligibilityCheck
(this means that by default we will fetch introductory offers eligibility using StoreKit 2). Read More
Published by x401om about 1 year ago
offerId
property has been added to the AdaptyAccessLevel
and AdaptySubscription
entities in AdaptyProfile
⚠️ Breaking!
AndroidSubscriptionUpdateProrationMode
to AndroidSubscriptionUpdateReplacementMode
.GetProductsIntroductoryOfferEligibility
. The behavior of this function depends on your Adapty SDK configuration. It will utilize StoreKit 2 if available or fallback to a legacy logic based on receipt analysis. For more detailed information, please refer to our documentation. Read more
Adapty.Eligibility.Unknown
was replaced with .NotApplicable
(for products that cannot contain offers)Adapty.PaywallProduct
now has a unified structure for both systemsAdapty.Price
structure. Migrate as follows:
product.Price
-> product.Price.Amount
product.LocalizedPrice
-> product.Price.LocalizedString
product.CurrencyCode
-> product.price.CurrencyCode
product.CurrencySymbol
-> product.Price.CurrencySymbol
AdaptySubscriptionDetails
structure. Migrate as follows:
product.SubscriptionPeriod
-> product.SubscriptionDetails.SubscriptionPeriod
product.LocalizedSubscriptionPeriod
-> product.SubscriptionDetails.LocalizedSubscriptionPeriod
Adapty.SubscriptionPhase
structure instead of Adapty.ProductDiscount
. Phase represents either Introductory period (product.SubscriptionDetails.IntroductoryOffer
) or Promo period (product.SubscriptionDetails.PromotionalOffer
). Migrate as follows:
product.FreeTrialPeriod
-> look into PaymentMode
and SubscriptionPeriod
properties of Adapty.SubscriptionPhase
product.LocalizedFreeTrialPeriod
-> look into LocalizedSubscriptionPeriod
property of Adapty.SubscriptionPhase
product.PromotionalOfferEligibility
-> product.SubscriptionDetails.PromotionalOfferEligibility
product.PromotionalOfferId
-> product.SubscriptionDetails.PromotionalOfferId
product.VariationId
-> product.PaywallVariationId
Full Changelog: https://github.com/adaptyteam/AdaptySDK-Unity/compare/2.4.4...2.7.0
Published by x401om over 1 year ago
Published by x401om over 1 year ago
isOneTime
property of AdaptyProfile.NonSubscription
was deprecated, use isConsumable
insteadPublished by x401om over 1 year ago
airbridgeDeviceId
to user profilePublished by x401om over 1 year ago
remoteConfig
Published by x401om over 1 year ago
Published by x401om over 1 year ago
Published by x401om over 1 year ago
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:
OnDeferredPurchasesProduct
method from AdaptyEventListener
..GetPaywalls()
, it must be done separately for each paywall using .GetPaywall(id:)
.GetPaywallProducts(paywall:)
IntroductoryOfferEligibility
– instead of true/false we give a more extended list of optionsAdapty.ProfileParameters.Builder
is redesigned:
.RemoveCustomAttribute("key")
.Build()
method and pass resulting Adapty.ProfileParameters
object to .UpdateProfile
method.SetAnalyticsDisabled()
method has been eliminated. Use the .SetAnalyticsDisabled
method of Adapty.ProfileParameters.Builder
.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 serverPurchaserInfo
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
.SetFallbackPaywalls()
method now does not return errors related to StoreKit product retrieval.LogShowOnboarding()
. Read more
CustomAttributes
, now it is part of Adapty.Profile
Full documentation can be found in here.
Published by x401om about 2 years ago
Published by x401om over 2 years ago
Published by x401om over 2 years ago
Initial release.