Releases: adaptyteam/AdaptySDK-Android
Releases · adaptyteam/AdaptySDK-Android
2.11.3
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()
2.10.5
2.10.4
2.10.3
2.10.2
2.10.1
- added support for AdaptyUI 2.1.3
2.10.0
- added support for AdaptyUI 2.1.2
- The
.makePurchase
method's callback now returnsAdaptyPurchasedInfo
(which includes aPurchase
from PBL as well) instead ofAdaptyProfile
.