Enhancements
- Assigments of paywall variants are now performed on device, meaning reduced network calls and faster setup time for the SDK.
- Adds
Paywall.latestPaywallInfo
. You can read this to access thePaywallInfo
object of the most recently presented view controller. - Adds feature flags under the hood so new features can be turned on for specific organizations and apps.
- Adds the ability to specify
SKProducts
with triggers. These override products defined in the dashboard. You do this by creating aPaywallProducts
object and callingPaywall.trigger(event: "event", products: products)
. - Updates sample projects to iOS 16.
Fixes
- Shimmer view is no longer visible beneath a paywall's
WKWebView
when there is nobody
orhtml
background color set - Previously, calling
Paywall.preloadPaywalls(forTriggers:)
beforePaywall.config()
finished would not work. This has been fixed. - Previously, if a user purchases a product within a subscription group, they would still be offered a free trial on other products within that group. This has been fixed.
- Fixes a bug where
Paywall.reset()
couldn't be called on a background thread.