Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.10.0 #247

Merged
merged 15 commits into from
Oct 4, 2024
Merged

3.10.0 #247

merged 15 commits into from
Oct 4, 2024

Conversation

yusuftor
Copy link
Collaborator

@yusuftor yusuftor commented Oct 4, 2024

Changes in this pull request

Enhancements

  • Adds purchase(_:) to initiate a purchase of an SKProduct via Superwall regardless of whether you are using paywalls or not.
  • Adds restorePurchases() to restore purchases via Superwall.
  • Adds an optional paywall(_:loadingStateDidChange) function to the PaywallViewControllerDelegate. This is called when the loading state of the presented PaywallViewController did change.
  • Makes loadingState on the PaywallViewController a public published property.

Fixes

  • Tweaks AdServices token logic to prevent getting the token twice.

Notes

The objective-c versions of the UI tests don't seem to work as expected, there's something wrong with the asserts in the tests not getting hit rather than SuperwallKit.

Checklist

  • All unit tests pass.
  • All UI tests pass.
  • Demo project builds and runs.
  • 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 yusuftor merged commit 1fa4e91 into master Oct 4, 2024
3 checks passed
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.

2 participants