github superwall/Superwall-iOS 3.0.0-beta.6

latest releases: 4.8.1, 4.8.0, 4.7.0...
2 years ago

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 and latestPaywallInfo no longer restricted to the main actor.
  • Removes localizationOverride(localeIdentifier:) and replaces it with the SuperwallOption localeIdentifier. You set this on configure.
  • Removes delegate from configure. You now set the delegate via Superwall.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.

Don't miss a new Superwall-iOS release

NewReleases is sending notifications on new releases.