Skip to content

Paywalls: optimize background.jpg image#3379

Merged
NachoSoto merged 1 commit into
mainfrom
paywalls-compress-background
Nov 2, 2023
Merged

Paywalls: optimize background.jpg image#3379
NachoSoto merged 1 commit into
mainfrom
paywalls-compress-background

Conversation

@NachoSoto

@NachoSoto NachoSoto commented Nov 2, 2023

Copy link
Copy Markdown
Contributor

This is only used for LoadingPaywallView and PaywallData.createDefault, both of which render it as a blurred image.
Therefore we don't need a high resolution image. This changes it from ~750KB to 100KB and the result isn't noticeable:

Before

image before

After

image after

This is only used for `LoadingPaywallView` and `PaywallData.createDefault`, both of which render it as a blurred image.
Therefore we don't need a high resolution image. This changes it from ~750KB to 100KB.
@NachoSoto NachoSoto added the build label Nov 2, 2023
@NachoSoto NachoSoto requested review from a team November 2, 2023 17:21
@NachoSoto NachoSoto added perf and removed build labels Nov 2, 2023
@NachoSoto NachoSoto merged commit a66fc2e into main Nov 2, 2023
@NachoSoto NachoSoto deleted the paywalls-compress-background branch November 2, 2023 17:47
NachoSoto pushed a commit that referenced this pull request Nov 2, 2023
**This is an automatic release.**

### Performance Improvements
* `Paywalls`: optimize `background.jpg` image (#3379) via NachoSoto
(@NachoSoto)
### Other Changes
* `RevenueCatUI`: lowered CocoaPods deployment target to 11.0 (#3378)
via NachoSoto (@NachoSoto)
* Fix deprecation warning (#3371) via NachoSoto (@NachoSoto)
tonidero added a commit to RevenueCat/purchases-android that referenced this pull request Feb 21, 2024
### Description
Equivalent to iOS's
RevenueCat/purchases-ios#3379

Deals with: RevenueCat/purchases-flutter#982

This image is used in the default paywall when there is a problem with
the configured paywall in the dashboard or there is no paywall
configured. This image is blurred, so the quality is not really
important here, and it was a pretty big image.
@vegaro vegaro added pr:other and removed pr:perf labels Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants