RevenueCatUI: background.jpg significantly increases bundle size
- [x] I have updated Purchases SDK to the latest version
- [x] I have read the Contribution Guidelines
- [x] I have searched the Community
- [x] I have read docs.revenuecat.com
- [x] I have searched for existing Github issues
Describe the bug We’ve identified that the RevenueCat_RevenueCatUI.bundle includes a background.jpg file which is 106 KB in size, accounting for over one-third of the entire bundle (~303 KB). This image seems excessive given its size and inclusion by default for all users of the SDK, even if not directly used. We’d like to know if this asset is necessary, or if there’s a way to exclude or optimise it.
- Environment
- Platform: iOS
- SDK version: 5.20.2
- StoreKit version:
- [ ] StoreKit 1 (default on versions <5.0.0. Can be enabled in versions >=5.0.0 with
.with(storeKitVersion: .storeKit1)) - [x] StoreKit 2 (default on versions >=5.0.0)
- [ ] StoreKit 1 (default on versions <5.0.0. Can be enabled in versions >=5.0.0 with
- OS version:
- Xcode version: 16.3 (16E140)
- Device and/or simulator:
- [ ] Device
- [ ] Simulator
- Environment:
- [ ] Sandbox
- [ ] TestFlight
- [ ] Production
- How widespread is the issue. Percentage of devices affected.
- Debug logs that reproduce the issue. Complete logs with
Purchases.logLevel = .verbosewill help us debug this issue.
Logs here
- Steps to reproduce, with a description of expected vs. actual behavior
Please fill in
-
Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)
-
Additional context Add any other context about the problem here.
👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!
Hi, this image is used for our fallback default paywall. I am checking with the team if this can be safely excluded.