v2.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 optional
ipAddressCollectionDisabled
parameter toInput.ActivateParamsInput
.
Breaking:
remoteConfig
is now anAdaptyRemoteConfig
object, which containsdata
,dataString
andlang
properties.- New method
.setFallbackPaywalls(paywallsLocation: Input.FallbackPaywallsLocation)
accepts object that represents the location of file resource instead ofstring
in.setFallbackPaywalls(paywalls: string)
. Read more
On iOS, after the file is correctly added, you can simply pass { fileName: 'ios_fallbacks.json' }
(or other file name if differs) to the ios
property of FallbackPaywallsLocation
.
For Android, there are 2 correct directories to put the file: android/app/src/main/assets/ and android/app/src/main/res/raw/. Depending on it, you can pass { relativeAssetPath: 'android_fallbacks.json' }
, { relativeAssetPath: 'paywalls/android_fallbacks.json' }
(if the file '' is located in the nested paywalls folder in the assets directory) or { rawResName: 'android_fallbacks' }
(please note that it's without file extension in this case) to the android
property of FallbackPaywallsLocation
.
You can read more here