Remove unused background.jpg asset from RevenueCatUI - #7489
Conversation
4 builds decreased size
RevenueCat 1.0 (1)
|
| Item | Install Size Change |
|---|---|
| 🗑 background.jpg | ⬇️ -106.5 kB |
| DYLD.String Table | ⬇️ -3.2 kB |
| Other | ⬇️ -5.5 kB |
BinarySizeTest 1.0 (1)
com.revenuecat.binary-size-test.local-source
⚖️ Compare build
📦 Install build
⏱️ Analyze build performance
Total install size change: ⬇️ 24 B
Total download size change: ⬇️ 363 B
Largest size changes
| Item | Install Size Change |
|---|---|
| Other | ⬇️ -24 B |
BinarySizeTest 1.0 (1)
com.revenuecat.binary-size-test.cocoapods
⚖️ Compare build
📦 Install build
⏱️ Analyze build performance
Total install size change: ⬇️ 108.3 kB (-0.35%)
Total download size change: ⬇️ 104.5 kB (-1.44%)
Largest size changes
| Item | Install Size Change |
|---|---|
| 🗑 background.jpg | ⬇️ -106.5 kB |
| Other | ⬇️ -1.8 kB |
BinarySizeTest 1.0 (1)
com.revenuecat.binary-size-test.spm
⚖️ Compare build
📦 Install build
⏱️ Analyze build performance
Total install size change: ⬇️ 108.3 kB (-0.87%)
Total download size change: ⬇️ 103.6 kB (-2.11%)
Largest size changes
| Item | Install Size Change |
|---|---|
| 🗑 background.jpg | ⬇️ -106.5 kB |
| Other | ⬇️ -1.8 kB |
🛸 Powered by Emerge Tools
Comment trigger: Size diff threshold of 100.00kB exceeded
📸 Snapshot Test4 modified, 270 unchanged
🛸 Powered by Emerge Tools |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 1f2045c. Configure here.





Checklist
purchases-androidand hybridsMotivation
We have a 106 KB
background.jpgthat can no longer reach the screen: it's only referenced as the legacy default paywall'simages.background, and every path that builds that paywall now rendersDefaultPaywallViewinstead.Resolves PWENG-220.
Description
background.jpg could previously be reached through a few different paths, but none of them actually display it anymore:
Note
Low Risk
Asset and fallback-paywall cleanup with no purchase or auth changes; visible impact is limited to legacy loading/snapshot paths and slightly smaller RevenueCatUI bundles.
Overview
Removes the legacy
background.jpgbundle asset (~106 KB) and stops wiring it into default fallback paywall configuration, since production paths no longer display it.Packaging drops
background.jpgfrom SPM (Package.swift,Package@swift-5.8.swift), CocoaPods (RevenueCatUI.podspec), and the Xcode project.PaywallData.createDefaultno longer setsimages.backgroundor thebackgroundImageconstant.LoadingPaywallViewuses the standard default paywall only and drops the blurredTemplateBackgroundImageViewbackground plus the paywall variant that cleared the background for shimmer.Tests update PaywallData validation JSON snapshots so default paywalls expect
"background": null, andImageLoaderTestsloads sample image bytes via.withLocalImagesinstead of the removed default background URL.Reviewed by Cursor Bugbot for commit c8aa6b7. Bugbot is set up for automated code reviews on this repo. Configure here.