-
Notifications
You must be signed in to change notification settings - Fork 382
Make TrialOrIntroEligibilityChecker @_spi public #5461
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
Conversation
…ing it into `PaywallView`'s `init`
e234431
to
bad58c6
Compare
📸 Snapshot Test2 modified, 691 unchanged
🛸 Powered by Emerge Tools |
@RCGitBot please test |
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.
Makes sense! Just a question.
@@ -11,12 +11,15 @@ | |||
// | |||
// Created by Nacho Soto on 7/13/23. | |||
|
|||
import Combine |
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.
Curious why this was needed?
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.
I think ObservableObject
is part of Combine
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.
Yea, but we were already using that haha, which is what made me curious.
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.
In order to allow previewing intro trials in Paywall Previews in the RC app, we need to allow the app to inject its own
TrialOrIntroEligibilityChecker
. That's why we're makingTrialOrIntroEligibilityChecker
@_spi
public