-
Notifications
You must be signed in to change notification settings - Fork 412
RCT Tester app Part 4 - Add more APIs and features to the RCT Tester app #6240
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
base: pallares/rct-tester-app-3
Are you sure you want to change the base?
Conversation
…mode (#6233) * Cache presentedOfferingContext when making a purchase from a paywall * Avoid using stale cached presentedOfferingContext Co-authored-by: Cursor <[email protected]> * Only remove cached context when date check passes * Include productId in cancel events and add tests * Add log * One more test * More tests * fix warning * Fix compilation * Fix integration test compilation for SPI import Co-authored-by: Cursor <[email protected]> * Include paywall and offering context in SK2 transaction listener * Improve comment * More tests --------- Co-authored-by: Cursor <[email protected]>
Generated by 🚫 Danger |
… `presentPaywallIfNeeded` API
a49ef6a to
740eb43
Compare
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
Motivation
The RCT Tester app needs more comprehensive coverage of RevenueCat SDK APIs to allow manual testing of how attribution data is sent under different integrations.
Description
PurchaseManagermode (RC'srestorePurchases(), SK1'srestoreCompletedTransactions(), or SK2'sAppStore.sync()).purchase(package:)andpurchase(product:)..presentPaywall,.presentPaywallIfNeeded(with an entitlement picker sourced fromCustomerInfo.entitlements.all), and directPaywallView.StoreView.forOfferingandSubscriptionStoreView.forOffering(iOS 17+), with a warning icon and alert when configured with StoreKit 1.Other changes
ObserverModeStoreKit1PurchaseManagernow properly cancels in-flight purchase/restore handlers ondeinit.StoreViewactions|
For the
.presentPaywallIfNeededAPI:.presentPaywallIfNeededcall|