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

V4 #273

Draft
wants to merge 216 commits into
base: develop
Choose a base branch
from
Draft

V4 #273

wants to merge 216 commits into from

Conversation

yusuftor
Copy link
Collaborator

@yusuftor yusuftor commented Dec 4, 2024

Changes in this pull request

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 and others added 30 commits January 6, 2025 14:00
- Checks for the `SKIncludeConsumableInAppPurchaseHistory` info.plist key. If set to `true`, defaults to using `.storeKit2` only if on iOS 18+.
- Adds visionOS to example app targets
- Fixes visionOS issues
- Bools in device attributes was getting serialised as a special NSNumber which was then cast as an int in the CEL. So audience filter such as `totalPaywallViews is 0` was failing. This update checks to see if it's an NSNumber which is actually a Boolean and casts it as a Boolean.
- Added funcs to the graveyard so that people updating from v3 to v4 get a renamed error message.
- Fixes a concurrency crash that was caused by reading and writing to `sk2IntroOfferEligibility`. Made `SK2ReceiptManager` an actor to prevent this as it could potentially happen with the purchases variable too.
- Adds `Superwall.shared.subscriptionStatus.isActive` convenience variable.
- Moves away from EntitlementStatus to SubscriptionStatus.
- Updates RevenueCat version
- Fixes a sendable warning
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.

1 participant