Skip to content

4.10.7#398

Merged
yusuftor merged 21 commits intomasterfrom
develop
Dec 8, 2025
Merged

4.10.7#398
yusuftor merged 21 commits intomasterfrom
develop

Conversation

@yusuftor
Copy link
Copy Markdown
Collaborator

@yusuftor yusuftor commented Dec 8, 2025

Changes in this pull request

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.

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.

Checklist

  • All unit tests pass.
  • All UI tests pass.
  • Demo project builds and runs on iOS.
  • Demo project builds and runs on visionOS.
  • I added/updated tests or detailed why my change isn't tested.
  • I added an entry to the CHANGELOG.md for any breaking changes, enhancements, or bug fixes.
  • I have run swiftlint in the main directory and fixed any issues.
  • I have updated the SDK documentation as well as the online docs.
  • I have reviewed the contributing guide

yusuftor and others added 21 commits November 25, 2025 13:55
- Now we only return true for deep linking if it will definitely be handled by Superwall. There could still be a case where the function returns false but then goes onto handle a deep link if config hasn't been retrieved before. Also if the deep link has been removed in an updated config it could falsely return true. But these are edge cases
- Adds tests for deep linking
Now matches the logic of the deep link handling function
…ition

fix crash in SwiftyJSON dictionary unwrap
@yusuftor yusuftor merged commit 4eeda93 into master Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants