Skip to content

Releases: adaptyteam/AdaptySDK-Android

2.11.3

23 Jul 20:41
Compare
Choose a tag to compare
  • added support for test devices
  • added getPaywallForDefaultAudience method

2.11.2

30 May 05:57
Compare
Choose a tag to compare

internal improvements

2.11.1

23 May 13:23
Compare
Choose a tag to compare
  • added new api for setting fallback paywalls from Android resources or assets: Adapty.setFallbackPaywalls(location: FileLocation) where location can be constructed with FileLocation.fromResId(context, R.raw.android_fallback) or FileLocation.fromAsset("someDirectory/android_fallback.json") (or simply FileLocation.fromAsset("android_fallback.json") if it's located in the root of the assets directory)
  • internal improvements

2.11.0

10 May 13:32
Compare
Choose a tag to compare

New:

  • Since this version we are using CDN for even more use-cases. This technology helps us to synchronize data much faster
  • Added support for AdaptyUI 2.11.0

Breaking:

  • New method .setFallbackPaywalls(fileUri, callback) accepts Uri object for file resource instead of json string
  • remoteConfig is now an AdaptyPaywall.RemoteConfig object, which contains dataMap and locale properties
  • loadTimeoutMillis: Long parameter has been replaced with loadTimeout: TimeInterval. You can create TimeInterval with extension functions (like 5.seconds, where .seconds is from import com.adapty.utils.seconds), or TimeInterval.seconds(5). If you used Int.MAX_VALUE before, please replace it with TimeInterval.INFINITE
  • Adapty.getViewConfiguration() moved to AdaptyUI SDK and changed to AdaptyUI.getViewConfiguration()

⚠️ Warning: Please ensure you update the Fallback Paywalls files before releasing a new version

⚠️ Warning: If you use AdaptyUI, please update it to 2.11.0

2.10.5

29 Apr 19:12
Compare
Choose a tag to compare
  • added method Adapty.activate(context: Context, config: AdaptyConfig)
  • added an option to disable ip address collection (use AdaptyConfig.Builder(apiKey).withIpAddressCollectionDisabled(true).build())

2.10.4

29 Mar 15:55
Compare
Choose a tag to compare

internal improvements

2.10.3

22 Mar 15:49
Compare
Choose a tag to compare

internal improvements

2.10.2

26 Feb 17:13
Compare
Choose a tag to compare
  • fixed the incorrect format of some analytics events in rare cases.

2.10.1

16 Feb 12:36
Compare
Choose a tag to compare

2.10.0

07 Feb 19:34
Compare
Choose a tag to compare

⚠️ Breaking changes:

  • The .makePurchase method's callback now returns AdaptyPurchasedInfo (which includes a Purchase from PBL as well) instead of AdaptyProfile.