Releases: adaptyteam/AdaptySDK-Android
Releases · adaptyteam/AdaptySDK-Android
3.0.1
🎉 Meet the Adapty Android SDK v3
With this version we're introducing support for the new paywall builder that offers more templates and layout flexibility. You can read more in the corresponding AdaptyUI release notes
2.11.5
2.11.4
2.11.3
- added support for test devices
- added
getPaywallForDefaultAudience
method
2.11.2
2.11.1
- added new api for setting fallback paywalls from Android resources or assets:
Adapty.setFallbackPaywalls(location: FileLocation)
wherelocation
can be constructed withFileLocation.fromResId(context, R.raw.android_fallback)
orFileLocation.fromAsset("someDirectory/android_fallback.json")
(or simplyFileLocation.fromAsset("android_fallback.json")
if it's located in the root of the assets directory) - internal improvements
2.11.0
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)
acceptsUri
object for file resource instead of json string remoteConfig
is now anAdaptyPaywall.RemoteConfig
object, which containsdataMap
andlocale
propertiesloadTimeoutMillis: Long
parameter has been replaced withloadTimeout: TimeInterval
. You can createTimeInterval
with extension functions (like5.seconds
, where .seconds is fromimport com.adapty.utils.seconds
), orTimeInterval.seconds(5)
. If you usedInt.MAX_VALUE
before, please replace it withTimeInterval.INFINITE
Adapty.getViewConfiguration()
moved to AdaptyUI SDK and changed toAdaptyUI.getViewConfiguration()