-
Notifications
You must be signed in to change notification settings - Fork 334
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
CAT-1726: Support Deferring Win-Back StoreKit Messages #4343
Merged
fire-at-will
merged 14 commits into
main
from
CAT-1726_support_deferring_winback_sk_messages
Oct 7, 2024
Merged
Changes from 13 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
a00aa86
add winBackOffer to StoreMessageType
fire-at-will c9e2492
update docs
fire-at-will 6cd4762
update doc
fire-at-will f12b407
doc formatting
fire-at-will 36d2788
fix bug where we remove messages that weren't shown
fire-at-will f1f454a
formatting
fire-at-will 246111d
Revert "fix bug where we remove messages that weren't shown"
fire-at-will 179542f
linting
fire-at-will 760b526
typo fix
fire-at-will 00b0133
Merge branch 'main' into CAT-1726_support_deferring_winback_sk_messages
fire-at-will 7c04579
add visionOS OS requirement
fire-at-will d0ca973
add Swift 6 check
fire-at-will c5ba78e
more checks
fire-at-will 086dce6
use compiler compilation condition
fire-at-will File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See the PR description for more details on why this is necessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the
swift
compilation condition defines the swift mode, whereascompiler
refers to the swift compiler version.A lot of people will compile in Swift 5.X mode while using Xcode. Since what we actually want to do is detect the Xcode version, and Xcode 16 comes with the Swift 6.0 compiler, it's better to use the
compiler
condition instead ofswift
, as we know if ties directly the Xcode version.https://docs.swift.org/swift-book/documentation/the-swift-programming-language/statements/#Conditional-Compilation-Block
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Woah, TIL! Will switch to using the
compiler
condition. Thank you!!There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Switched in to using the
compiler
condition in 086dce6 😎