Releases: superwall/Superwall-iOS
Releases · superwall/Superwall-iOS
3.6.1
3.6.0
Enhancements
- Adds support for unlimited products in a paywall.
- SW-2767: Adds
device.regionCode
anddevice.preferredRegionCode
, which returns theregionCode
of the locale. For example, if a locale isen_GB
, theregionCode
will beGB
. You can use this in the filters of your campaign. - Adds ability to specify custom API endpoints using
SuperwallOptions
to facilitate local testing more easily.
Fixes
- Calls the completion block even if Superwall.configure is called more than once.
getPresentationResult
now confirms assignments for holdouts.
3.5.0
3.5.0-rc.3
Fixes
- Moves resources into their own resources bundle when installing via CocoaPods.
3.5.0-rc.1
This is our first visionOS pre-release, we'll test this on a few devices to
ensure everything works as expected!
Enhancements
- Adds support for visionOS!
3.4.8
Note: This version is the same as 3.4.7, we just needed to update the version number to publish to cocoapods!
Enhancements
- SW-2667: Adds
preferredLanguageCode
andpreferredLocale
to device attributes. If your app isn't already localized for a language you're trying to target, thedeviceLanguageCode
anddeviceLocale
may not be what you're expecting. Use these device attributes instead to access the first preferred locale the user has in their device settings.
Fixes
- Fixes bug where a
transaction_abandon
ortransaction_fail
event would prevent the presented paywall from dismissing ifpaywall_decline
was a trigger. - SW-2678: Fixes issue where the
subscription_start
event was being fired even if a non-recurring product was purchased. - SW-2659: Fixes issue on macOS where the window behind a paywall wasn't being removed when a paywall was dismissed, leading to the app appearing to be in a frozen state.
3.4.7
Enhancements
- SW-2667: Adds
preferredLanguageCode
andpreferredLocale
to device attributes. If your app isn't already localized for a language you're trying to target, thedeviceLanguageCode
anddeviceLocale
may not be what you're expecting. Use these device attributes instead to access the first preferred locale the user has in their device settings.
Fixes
- Fixes bug where a
transaction_abandon
ortransaction_fail
event would prevent the presented paywall from dismissing ifpaywall_decline
was a trigger. - SW-2678: Fixes issue where the
subscription_start
event was being fired even if a non-recurring product was purchased. - SW-2659: Fixes issue on macOS where the window behind a paywall wasn't being removed when a paywall was dismissed, leading to the app appearing to be in a frozen state.
3.4.6
3.4.5
Enhancements
- Adds internal feature flag to disable verbose events like
paywallResponseLoad_start
. - Tracks a Superwall Event
reset
wheneverSuperwall.shared.reset()
is called.
Fixes
- Fixes issue where holdouts were still matching even if the limit set for their corresponding rules were exceeded.
- Fixes potential crash if the free trial notification delay was set to zero seconds.
3.4.4
Enhancements
- Tracks user attributes on session start.
- Exposes
triggerSessionId
on thePaywallInfo
object. - Makes
PaywallSkippedReason
conform toCustomStringConvertible
. - Adds the Superwall SDK version and your app's version/build number to the debugger menu. Press the hamburger icon on the top left in the debugger to access it.
Fixes
- Changes the way paywall presentation serialization is performed to avoid mixing of concurrency paradigms.
- Prevents
preloadAllPaywalls()
from being called if the SDK is already preloading paywalls. - Fixes issue where experiment and trigger session details were missing from transaction events if a paywall was closed before returning a
PurchaseResult
in thePurchaseController
. - Prevents multiple taps on a purchase button from firing the
PurchaseController
purchase function multiple times. - Tracks
survey_response
when selected in debugger.