Skip to main content
Question

Close/Exit Button Not Visible Even After using shouldDisplayDismissButton = true in Kotlin

  • February 25, 2025
  • 1 reply
  • 38 views

Forum|alt.badge.img+2

Hi RevenueCat Community,

I'm having an issue with the RevenueCat paywall integration in my Android app. I’m using the PaywallActivityLauncher to display the paywall, and I set the flag shouldDisplayDismissButton = true in the launch options. However, the close (dismiss) button does not appear on the paywall.

My implementation looks like this:

paywallActivityLauncher.launchIfNeeded( requiredEntitlementIdentifier = Constants.ENTITLEMENT_ID, shouldDisplayDismissButton = true )

Context:

  • I’m using the latest version of the RevenueCat SDK.
  • My paywall template in the RevenueCat Dashboard is set to the default configuration.
  • I’ve also checked for any possible theme or styling issues (e.g., the button not being visible due to color conflicts), but nothing seems to work.

What I've Tried:

  • Verifying my SDK version.
  • Confirming that the paywall is being launched as a new Activity (which should display the close button by default).
  • Checking the dashboard settings for any customization that might hide the dismiss button.

Despite these efforts, I still do not see the close button on the paywall. Has anyone encountered this issue before? Are there any known workarounds or additional settings I might need to adjust to enable the dismiss button?

Any help or guidance would be greatly appreciated!
 

Thanks in advance!

 

Paywall Dummy 

This post has been closed for comments

1 reply

JayShortway
RevenueCat Staff
Forum|alt.badge.img+5
  • RevenueCat Staff
  • 38 replies
  • February 25, 2025

Hi ​@sagar-raval-f8e6a7, thanks for raising this! It is expected that Paywalls v2 ignores the shouldDisplayDismissButton parameter, but it seems that we missed a few places when updating the docs in the SDK. My apologies! I've opened a PR to fix the docs.

Displaying a dismiss button in your v2 Paywall is done in the paywall editor on the dashboard. Any button you add can have the "dismiss" action. You can also make it rounded and add an 'X' icon to make it look like the original paywall's dismiss button, or you can do something completely different of course. 

Let me know if this helps you!


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