Skip to content

Remove StripePaymentSheet's dependency on StripePaymentsUI#5973

Draft
davidme-stripe wants to merge 4 commits intodavidme/cardbrandviewfrom
davidme/remove-stripepaymentsui-dep
Draft

Remove StripePaymentSheet's dependency on StripePaymentsUI#5973
davidme-stripe wants to merge 4 commits intodavidme/cardbrandviewfrom
davidme/remove-stripepaymentsui-dep

Conversation

@davidme-stripe
Copy link
Contributor

Summary

Motivation

Testing

Changelog

@davidme-stripe davidme-stripe changed the title Remove StripePaymentsUI dependency Remove StripePaymentSheet's dependency on StripePaymentsUI Jan 13, 2026
@emerge-tools
Copy link

emerge-tools bot commented Jan 13, 2026

1 build increased size, 3 builds decreased size, 4 builds had no size change

Name Version Download Change Install Change Approval
StripeSize
com.stripe.StripeSize
1.0 (1) 2.1 MB ⬇️ 29.2 kB (-1.4%) 6.8 MB ⬇️ 20.8 kB (-0.31%) N/A
StripePaymentsSize
com.stripe.StripePaymentsSize
1.0 (1) 1.2 MB ⬆️ 1.2 kB (0.1%) 4.2 MB ⬆️ 1.4 kB (0.03%) N/A
StripePaymentsUISize
com.stripe.StripePaymentsUISize
1.0 (1) 1.9 MB ⬇️ 27.3 kB (-1.41%) 6.3 MB ⬇️ 20.7 kB (-0.33%) N/A
StripePaymentSheetSize
com.stripe.StripePaymentSheetSize
1.0 (1) 4.0 MB ⬇️ 296.9 kB (-6.95%) 11.5 MB ⬇️ 930.6 kB (-7.52%) N/A
StripeIdentitySize
com.stripe.StripeIdentitySize
1.0 (1) 1.3 MB - 4.2 MB - N/A
StripeApplePaySize
com.stripe.StripeApplePaySize
1.0 (1) 502.7 kB - 1.7 MB - N/A
StripeConnectSize
com.stripe.StripeConnectSize
1.0 (1) 1.8 MB - 6.0 MB - N/A
StripeFinancialConnectionsSize
com.stripe.StripeFinancialConnectionsSize
1.0 (1) 1.6 MB ⬇️ 7 B 5.0 MB - N/A

StripeSize 1.0 (1)
com.stripe.StripeSize

⚖️ Compare build
⏱️ Analyze build performance

Total install size change: ⬇️ 20.8 kB (-0.31%)
Total download size change: ⬇️ 29.2 kB (-1.4%)

Largest size changes

Item Install Size Change
Localizable.strings ⬇️ -4.1 kB
🗑 StripePaymentsUI.String ⬇️ -2.8 kB
🗑 StripePaymentsUI.DropdownFieldElement ⬇️ -1.9 kB
Other ⬆️ 1.8 kB
Packed Asset ⬇️ 0 B
View Treemap

Image of diff

StripePaymentsSize 1.0 (1)
com.stripe.StripePaymentsSize

⚖️ Compare build
⏱️ Analyze build performance

Total install size change: ⬆️ 1.4 kB (0.03%)
Total download size change: ⬆️ 1.2 kB (0.1%)

Largest size changes

Item Install Size Change
Other ⬆️ 1.4 kB
View Treemap

Image of diff

StripePaymentsUISize 1.0 (1)
com.stripe.StripePaymentsUISize

⚖️ Compare build
⏱️ Analyze build performance

Total install size change: ⬇️ 20.7 kB (-0.33%)
Total download size change: ⬇️ 27.3 kB (-1.41%)

Largest size changes

Item Install Size Change
Localizable.strings ⬇️ -4.1 kB
🗑 StripePaymentsUI.String ⬇️ -2.8 kB
🗑 StripePaymentsUI.DropdownFieldElement ⬇️ -1.9 kB
Other ⬆️ 1.8 kB
Packed Asset ⬇️ 0 B
View Treemap

Image of diff

StripePaymentSheetSize 1.0 (1)
com.stripe.StripePaymentSheetSize

⚖️ Compare build
⏱️ Analyze build performance

Total install size change: ⬇️ 930.6 kB (-7.52%)
Total download size change: ⬇️ 296.9 kB (-6.95%)

Largest size changes

Item Install Size Change
🗑 Stripe_StripePaymentsUI.bundle ⬇️ -376.8 kB
🗑 StripePaymentsUI ⬇️ -354.0 kB
Packed Asset ⬆️ 0 B
DYLD.Exports ⬇️ -34.0 kB
Code Signature ⬇️ -12.7 kB
View Treemap

Image of diff

StripeIdentitySize 1.0 (1)
com.stripe.StripeIdentitySize

No changes to report

StripeApplePaySize 1.0 (1)
com.stripe.StripeApplePaySize

No changes to report

StripeConnectSize 1.0 (1)
com.stripe.StripeConnectSize

No changes to report

StripeFinancialConnectionsSize 1.0 (1)
com.stripe.StripeFinancialConnectionsSize

No changes to report


🛸 Powered by Emerge Tools

Comment trigger: Size diff threshold of 100.00kB exceeded

@davidme-stripe davidme-stripe changed the base branch from master to davidme/cardbrandview January 26, 2026 23:38
Copies card brand and other payment-related images to StripePaymentSheet and creates PaymentSheetImageLibrary to replace STPImageLibrary usage.
Moves string utility functions from StripePaymentsUI to StripePaymentSheet.
Moves CardBrandView from StripePaymentsUI to StripePaymentSheet.
Removes StripePaymentsUI imports and updates Package.swift and project references.
@davidme-stripe davidme-stripe force-pushed the davidme/remove-stripepaymentsui-dep branch from 1d94b50 to a9bdfd9 Compare January 26, 2026 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant