Skip to content

Releases: superwall/Superwall-iOS

3.5.0-rc.3

26 Feb 04:26
953584c
Compare
Choose a tag to compare
3.5.0-rc.3 Pre-release
Pre-release

Fixes

  • Moves resources into their own resources bundle when installing via CocoaPods.

3.5.0-rc.1

04 Feb 01:18
d296269
Compare
Choose a tag to compare
3.5.0-rc.1 Pre-release
Pre-release

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

24 Jan 22:02
205c458
Compare
Choose a tag to compare

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 and preferredLocale to device attributes. If your app isn't already localized for a language you're trying to target, the deviceLanguageCode and deviceLocale 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 or transaction_fail event would prevent the presented paywall from dismissing if paywall_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

24 Jan 20:33
95ba6aa
Compare
Choose a tag to compare

Enhancements

  • SW-2667: Adds preferredLanguageCode and preferredLocale to device attributes. If your app isn't already localized for a language you're trying to target, the deviceLanguageCode and deviceLocale 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 or transaction_fail event would prevent the presented paywall from dismissing if paywall_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

04 Jan 18:02
4d83a94
Compare
Choose a tag to compare

Enhancements

  • Adds internal code for SDK wrappers like Flutter.

3.4.5

11 Dec 21:49
f1f2b0b
Compare
Choose a tag to compare

Enhancements

  • Adds internal feature flag to disable verbose events like paywallResponseLoad_start.
  • Tracks a Superwall Event reset whenever Superwall.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

25 Oct 10:31
331a71f
Compare
Choose a tag to compare

Enhancements

  • Tracks user attributes on session start.
  • Exposes triggerSessionId on the PaywallInfo object.
  • Makes PaywallSkippedReason conform to CustomStringConvertible.
  • 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 the PurchaseController.
  • Prevents multiple taps on a purchase button from firing the PurchaseController purchase function multiple times.
  • Tracks survey_response when selected in debugger.

3.4.3

12 Oct 08:08
42ddc19
Compare
Choose a tag to compare

Enhancements

  • Exposes isPaywallPresented convenience variable.
  • Adds device_attributes event, which tracks the device attributes every new session.
  • Stops preloading paywalls that we know won't ever match.
  • Adds a .restored case to PurchaseResult and PurchaseResultObjc. Return this from your PurchaseController when you detect a user has tried to purchase a product that they've already purchased. This happens when transaction.transactionDate < purchaseDate, where purchaseDate is the date that the purchase was initiated. Check out RCPurchaseController.swift in our Superwall-UIKit+RevenueCat example app for how to implement this. If you let Superwall handle purchasing, then we will automatically detect this.
  • Adds restore_via_purchase_attempt to a transaction_restore event. This indicates whether the restoration happened due to the user purchasing or restoring.

3.4.2

29 Sep 03:16
Compare
Choose a tag to compare

Fixes

  • Fixes issue where multiple events registered in quick succession may not be performed in serial, resulting in unexpected paywalls.
  • Fixes issue where transaction data wouldn't be available for those who are using a purchase controller.

3.4.0

19 Sep 06:52
c920dc0
Compare
Choose a tag to compare

Enhancements

  • Adds sdkVersion, sdkVersionPadded, appBuildString, and appBuildStringNumber to the device object for use in rules. sdkVersion is the version of the sdk, e.g. 3.4.0. sdkVersionPadded is the sdk version padded with zeros for use with string comparison. For example 003.004.000. appBuildString is the build of your app and appBuildStringNumber is the build of your app casted as an Int (if possible).
  • When you experience no_rule_match, the TriggerFire event params will specify which part of the rules didn't match in the format "unmatched_rule_<id>": "<outcome>". Where outcome will either be OCCURRENCE, referring to the limit applied to a rule, or EXPRESSION. The id is the experiment id.
  • Adds a touches_began implicit trigger. By adding the touches_began event to a campaign, you can show a paywall the first time a user touches anywhere in your app.
  • Adds the ability to include a close button on a survey.
  • If running in sandbox, the duration of a free trial notification added to a paywall will be converted from days to minutes for testing purposes.
  • Adds the ability to show a survey after purchasing a product.

Fixes

  • Fixes issue where a survey attached to a paywall wouldn't show if you were also using the paywall_decline trigger.
  • Fixes issue where verification was happening after the finishing of transactions when not using a PurchaseController.
  • Fixes issue where the retrieved StoreTransaction associated with the purchased product may be nil.
  • Fixes issue where a presentationRequest wasn't being tracked for implicit triggers like session_start when there was no internet.