Skip to main content
Question

Space above image at the top of paywall

  • April 16, 2025
  • 1 reply
  • 22 views

Forum|alt.badge.img

Hi!

I am using the new Paywall V2 with Flutter and on Android the image at the top of my paywall is not at the top of the screen.

There is a space above the image that is as large as the notification bar, almost as if it was wrapped with a SafeArea but also had a offset of notification bar height.

I use RevenueCatUI.presentPaywallIfNeeded().

I have set the background color of the paywall to red for these images to be as clear as possible.

How it looks from Paywall editor
The components
How it looks on Android

Edit:

I have now also tried with text at the top, and that works with no problems. The editor updates the view so that the text is above the image. On the Android device the text appears on the red part and the image is not moved down any further (maybe some pixels)

1 reply

joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 385 replies
  • April 22, 2025

Hi ​@leon-hellqvist,

Thank you for bringing this to our attention, we could reproduce the issue on our side. We’ll work on a solution on the SDK level but you could try to implement a workaround in the meantime, wrap the header image in a StackComponent parent with a Z-stack axis should do the trick.

 

Let me know if that works!


Reply


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