Breaking Changes
identify(userId:)
is not longer a throwing async function. Any error that occurs is logged.reset
is no longer an async function.presentedViewController
andlatestPaywallInfo
no longer restricted to the main actor.- Removes
localizationOverride(localeIdentifier:)
and replaces it with theSuperwallOption
localeIdentifier
. You set this on configure. - Removes delegate from
configure
. You now set the delegate viaSuperwall.shared.delegate
. - Removes
presenter
introduced in beta 5. - Removes ASN1Swift as a package dependency.
- Changes free trial logic. Previously we'd look at just the primary product. However, we determing free trial eligibility based on the first product in the paywall that has a free trial available.
Enhancements
- You can now target
device.isSandbox
in rules.
Fixes
- Fixes bug where calling identify and immediately tracking a paywall would result in an error if it happened before configure returned.
- Fixes compiler bug when calling track.
- Tweaks the loading indicator.
- Fixes removing an attribute using Objective-C.
- Fixes issues where some functions tagged for the main actor weren't actually running on the main actor in objc.
- Fixes issues with paywall product overrides.