Skip to content

Conversation

facumenzella
Copy link
Contributor

Motivation

Customer Center Change Plans allows developers to configure which subscription products from each subscription group should be available for customers to upgrade/downgrade to within the self-service customer center.

Description

  • Parse change plans from customer center response
  • If it's empty, display the view using subscription groups
  • Keep old functionality for <iOS17
  • include xcconfig file in tuist configuration

Copy link

emerge-tools bot commented Jul 11, 2025

3 builds increased size

Name Version Download Change Install Change Approval
RevenueCat
com.revenuecat.PaywallsTester
1.0 (1) 12.4 MB ⬆️ 40.4 kB (0.33%) 47.7 MB ⬆️ 199.5 kB (0.42%) N/A
RevenueCat
com.revenuecat.PaywallsTester.mac-catalyst-scaled-to-match-ipad
1.0 (1) 11.5 MB ⬆️ 48.3 kB (0.42%) 42.5 MB ⬆️ 200.0 kB (0.47%) N/A
RevenueCat
com.revenuecat.PaywallsTester.mac-catalyst-optimized-for-mac
1.0 (1) 11.5 MB ⬆️ 48.3 kB (0.42%) 42.5 MB ⬆️ 200.0 kB (0.47%) N/A

RevenueCat 1.0 (1)
com.revenuecat.PaywallsTester

⚖️ Compare build
⏱️ Analyze build performance

Total install size change: ⬆️ 199.5 kB (0.42%)
Total download size change: ⬆️ 40.4 kB (0.33%)

Largest size changes

Item Install Size Change
DYLD.String Table ⬆️ 73.8 kB
Code Signature ⬆️ 5.3 kB
DYLD.Exports ⬆️ 4.0 kB
RevenueCatUI.CustomerCenterViewModel.CustomerCenterViewModel ⬆️ 1.6 kB
Other ⬆️ 114.8 kB
View Treemap

Image of diff

RevenueCat 1.0 (1)
com.revenuecat.PaywallsTester.mac-catalyst-scaled-to-match-ipad

⚖️ Compare build
⏱️ Analyze build performance

Total install size change: ⬆️ 200.0 kB (0.47%)
Total download size change: ⬆️ 48.3 kB (0.42%)

Largest size changes

Item Install Size Change
DYLD.String Table ⬆️ 74.9 kB
Code Signature ⬆️ 5.0 kB
DYLD.Exports ⬆️ 4.0 kB
RevenueCatUI.CustomerCenterViewModel.CustomerCenterViewModel ⬆️ 1.6 kB
Other ⬆️ 114.4 kB
View Treemap

Image of diff

RevenueCat 1.0 (1)
com.revenuecat.PaywallsTester.mac-catalyst-optimized-for-mac

⚖️ Compare build
⏱️ Analyze build performance

Total install size change: ⬆️ 200.0 kB (0.47%)
Total download size change: ⬆️ 48.3 kB (0.42%)

Largest size changes

Item Install Size Change
DYLD.String Table ⬆️ 74.9 kB
Code Signature ⬆️ 5.0 kB
DYLD.Exports ⬆️ 4.0 kB
RevenueCatUI.CustomerCenterViewModel.CustomerCenterViewModel ⬆️ 1.6 kB
Other ⬆️ 114.4 kB
View Treemap

Image of diff


🛸 Powered by Emerge Tools

Comment trigger: Size diff threshold of 100.00kB exceeded

Copy link

emerge-tools bot commented Jul 11, 2025

📸 Snapshot Test

1 modified, 704 unchanged

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

🛸 Powered by Emerge Tools

func body(content: Content) -> some View {
content
.onPreferenceChange(ChangePlansSelectedPreferenceKey.self) { wrapperSubscriptionGroupID in
if let subscriptionGroupID = wrapperSubscriptionGroupID?.value {
Copy link
Contributor

Choose a reason for hiding this comment

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

added changeplan to test

fixed RC test

typo

fixed hardcoded tests
fixed

add tvOS check

add watchOS

fixed pod lint
@facumenzella facumenzella requested a review from vegaro July 16, 2025 12:24
Co-authored-by: Cesar de la Vega <664544+vegaro@users.noreply.github.com>
Copy link
Contributor

@vegaro vegaro left a comment

Choose a reason for hiding this comment

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

just that changePlans in plural in the CustomerCenterConfigData question

@facumenzella facumenzella merged commit b5995ac into main Jul 16, 2025
12 checks passed
@facumenzella facumenzella deleted the feat/change_plans branch July 16, 2025 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants