Skip to content

Conversation

ajpallares
Copy link
Member

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 making TrialOrIntroEligibilityChecker @_spi public

@ajpallares ajpallares requested a review from a team August 8, 2025 16:13
@ajpallares ajpallares force-pushed the TrialOrIntroEligibilityChecker-spi branch from e234431 to bad58c6 Compare August 8, 2025 16:46
Copy link

emerge-tools bot commented Aug 8, 2025

📸 Snapshot Test

2 modified, 691 unchanged

Name Added Removed Modified Renamed Unchanged Errored Approval
RevenueCat
com.revenuecat.PaywallsTester.mac-catalyst-scaled-to-match-ipad
0 0 0 0 231 0 N/A
RevenueCat
com.revenuecat.PaywallsTester.mac-catalyst-optimized-for-mac
0 0 1 0 230 0 ✅ Approved
RevenueCat
com.revenuecat.PaywallsTester
0 0 1 0 230 0 ✅ Approved

🛸 Powered by Emerge Tools

@ajpallares
Copy link
Member Author

@RCGitBot please test

Copy link
Member

@JayShortway JayShortway left a 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
Copy link
Member

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?

Copy link
Contributor

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

Copy link
Member

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding the @_spi(Internal) public to TrialOrIntroEligibilityChecker without import Combine triggered this warning.

Image

@ajpallares ajpallares merged commit c8f1170 into main Sep 1, 2025
12 checks passed
@ajpallares ajpallares deleted the TrialOrIntroEligibilityChecker-spi branch September 1, 2025 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants