getPaywall
Adapty allows you remotely configure the products that will be displayed in your app. This way you don’t have to hardcode the products and can dynamically change offers or run A/B tests without app releases.
Should not be called before activate
See also
Parameters
The identifier of the desired placement. This is the value you specified when you created the placement in the Adapty Dashboard.
This parameter is expected to be a language code composed of one or more subtags separated by the "-" character. The first subtag is for the language, the second one is for the region (The support for regions will be added later). Example: "en"
means English, "en-US"
represents US English. If the parameter is omitted, the paywall will be returned in the default locale.
By default SDK will try to load data from server and will return cached data in case of failure. Otherwise use AdaptyPaywall.FetchPolicy.ReturnCacheDataElseLoad to return cached data if it exists.
This value limits the timeout for this method. If the timeout is reached, cached data or local fallback will be returned. The minimum value is 1 second. If a timeout is not required, you can pass TimeInterval.INFINITE.
A result containing the AdaptyPaywall object. This model contains the list of the products ids, paywall’s identifier, custom payload, and several other properties.