Skip to main content
Question

Paywall Properties - Fill/Fit

  • February 24, 2025
  • 6 replies
  • 66 views

Forum|alt.badge.img
  • New Member
  • 4 replies

I am trying to set the ‘Fit mode’ for paywall background image to fit but when the paywall is displayed it shown in fill mode. I am trying to check this on simulator and even after restarting the simulator the image is not displayed as expected. 

Can you please advise on this issue?

This post has been closed for comments

6 replies

jeffrey_bunn
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 289 replies
  • February 26, 2025

Hi ​@Ravi, thanks for reporting this. Can you share a screenshot of the background image that you see in the Simulator/physical device you’re testing on? I believe I’ve reproduced this for your paywall on my end, but I’d like to see what you’re seeing to confirm. Also, can you share which version of the SDK you’re using? Thanks.


Forum|alt.badge.img
  • Author
  • New Member
  • 4 replies
  • February 27, 2025

Hi ​@jeffrey_bunn, I have tried upgrading from iOS 5.17.0 to 5.18.0 still the issue persists. Please find attached the Paywall screenshots and the simulator. Thank you

 


Forum|alt.badge.img
  • Author
  • New Member
  • 4 replies
  • February 27, 2025

Adding more details to this issue: Initially, the correct fit mode was displayed the first time. However, after changing it and reverting back, it no longer behaved as expected. I attempted a clean build and restarted the app, but the issue persisted. The behavior is the same on both the device and the simulator.


jeffrey_bunn
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 289 replies
  • March 6, 2025

Hi ​@Ravi, thanks for the additional details. The fact that it displayed correctly first and then didn’t in future paywall opens is certainly odd. I was viewing your paywall, and noticed that you have all elements within the Footer component, with only the background image on the Paywall component. Typically what we see is an Image component placed inside the Paywall component. Here’s an example from our template gallery:

Would it be possible for you to try this component layout?


Forum|alt.badge.img+5
  • Member
  • 5 replies
  • March 16, 2025

I am also having the issue where image is set to “fit” in the editor but displays “fill” in the simulator. I noticed it does have the background image in the paywall component and all others in the footer like Ravi, but this was taken directly from one of the templates.

 

 


joshdholtz
RevenueCat Staff
Forum|alt.badge.img+5
  • RevenueCat Staff
  • 93 replies
  • March 19, 2025

Hey, everyone 👋 

 

Thanks for reporting this! I found the issue and its that our background image property isn’t properly supporting the fit mode. I’m working on a fix for this right now! Just not sure if it will make it for today’s release but if not, we can make another this week.

 

Thanks!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings