Skip to content

Releases: superwall/Superwall-iOS

4.11.2

17 Dec 14:30
741e4c5

Choose a tag to compare

Fixes

  • Deprecates device.isApplePayAvailable and defaults it to true. This also removes the PassKit import, which was getting flagged for some developers in review.

4.11.1

16 Dec 20:22
e02e3c8

Choose a tag to compare

Fixes

  • Fixes issue where isApplePayAvailable being calculated off the main thread could cause a crash.
  • Fixes potential crashes in WebKit navigation delegate methods.

4.11.0

12 Dec 15:49
c2eccb9

Choose a tag to compare

Enhancements

  • Adds the ability to override introductory offer eligibility via the paywall editor.
  • Adds dynamic notification support and scheduling.
  • Adds refreshConfiguration() to manually refresh the SDK configuration. This should only be used in wrapper SDKs in development for hot reloading.
  • Adds offerType, subscriptionGroupId and store to SubscriptionTransaction and NonSubscriptionTransaction.

Fixes

  • Fixes an issue where not all product IDs belonging to Entitlements in CustomerInfo were being included.

4.10.8

08 Dec 14:46
c3d787e

Choose a tag to compare

Enhancements

  • Adds support for Set user attributes action.
  • Adds new SuperwallDelegate method called userAttributesDidChange that notifies you when user attributes change from an external source.
  • Adds firebaseInstallationId as an IntegrationAttribute.

Fixes

  • Fixes a crash caused by a race condition when accessing JSON dictionaries concurrently.
  • Fixes issue returning the PurchaseResult from Superwall.shared.purchase(_:) when using StoreKit 1 inside a PurchaseController.
  • Fixes handleDeepLink returning true for non-Superwall URLs when called before configuration completes.

4.10.6

21 Nov 20:41
886c35c

Choose a tag to compare

Fixes

  • Fixes issue that prevented the SDK from being built on old Xcode versions.

4.10.5

21 Nov 17:23
965b99f

Choose a tag to compare

Fixes

  • Updates device.isApplePayAvailable for more accurate filtering. Previously it returned true whenever the device supported Apple Pay, even if no card was added. It now returns true only when the device supports Apple Pay and the user has added a card.
  • Fixes issue where didRedeemLink might not get called if there's no paywall available to present an alert from.

4.10.4

17 Nov 23:01
40ecd4c

Choose a tag to compare

Fixes

  • Updates Superscript version to 1.0.10. This fixes an issue with namespacing in cocoapods.
  • Fixes some issues building for visionOS.

4.10.3

14 Nov 20:21

Choose a tag to compare

Fixes

  • Fixes issue where Superwall.shared.confirmAllAssignments() would be return an empty Set if config hadn't been retrieved.

4.10.1

13 Nov 17:15
f712366

Choose a tag to compare

Fixes

  • Fixes issue where willRedeemLink might get called twice during the web checkout payment sheet flow.
  • Fixes issue where paywall might get dismissed prematurely during web checkout.
  • Fixes issue where the spinner on the paywall wasn't showing for a few seconds after the system closed the web checkout payment sheet due to a successful purchase.

4.10.0

06 Nov 14:03
7b61102

Choose a tag to compare

Enhancements

  • Adds CustomerInfo. This contains the latest information about all of the customer's purchase and subscription data. This can be accessed via the published property Superwall.shared.customerInfo, via Superwall.shared.getCustomerInfo(), via the AsyncStream customerInfoStream, or via the delegate method customerInfoDidChange(from:to:). This updates the Entitlement object to have more properties such as startsAt and expiredAt. These can be used in audience filters.
  • Adds Superwall.shared.entitlements.byProductIds(_:) to return a Set of Entitlement objects belonging to a given set of product identifiers.
  • Changes the PurchaseController examples to account for CustomerInfo changes.
  • Adds transaction_abandon capability to web checkout payment sheet.

Fixes

  • Fixes issue after purchasing web products where localized strings weren't correct in SDK wrappers like Expo.