Releases: superwall/Superwall-iOS
Releases · superwall/Superwall-iOS
3.6.6
Enhancements
- SW-2804: Exposes a
presentation
property on thePaywallInfo
object. This contains information about the presentation of the paywall. - Adds
restore_start
,restore_complete
, andrestore_fail
events. - SW-2850: Adds error message to
paywallWebviewLoad_fail
. - SW-2851: Adds error message to
paywallProductsLoad_fail
. - SW-2783: Logs error when trying to purchase a product that has failed to load.
Fixes
- Makes sure the formatting of SK2 product variables use the same locale as the product.
3.6.5
3.6.4
3.6.3
Enhancements
- SW-2828: Adds the Superwall
appUserId
as theapplicationUsername
for internalSKPayments
. - SW-2817: Adds support for dark mode paywall background color.
- SW-2815: Adds ability to target devices based on their IP address location. Use
device.ipRegion
,device.ipRegionCode
,device.ipCountry
,device.ipCity
,device.ipContinent
, ordevice.ipTimezone
. - Paywalls built with the new editor can be downloaded as webarchive files. This allows for shared resources and faster loading times for paywalls.
Fixes
- Fixes issue where implicit triggers weren't sending a
paywallPresentationRequest
when they didn't result in a paywall. Now this applies only to implicit triggers that are derived from an action on the paywall, likepaywall_decline
.
3.6.2
Enhancements
- Tracks an
identity_alias
event whenever identify is called to alias Superwall's anonymous ID with a developer provided id. - Adds
setInterfaceStyle(to:)
which can be used to override the system interface style. - Adds
device.interfaceStyleMode
to the device template, which can beautomatic
ormanual
if overriding the interface style.
Fixes
- Changes the
$feature_gating
parameter inPaywallInfo
from 0 and 1 toGATED
andNON_GATED
to prevent confusion. - Fixes issue where feature gating wasn't working correctly when an implicit event triggered by
paywall_decline
,transaction_fail
,transaction_abandon
, orsurvey_response
was resulting in askipped
PaywallState
. - Fixes issue where a
transaction_abandon
implicit event that resulted in askipped
PaywallState
was accidentally closing a paywall when it shouldn't have.
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!