Skip to main content
Question

Paywall Display Problem (Kotlin with Activity)

  • August 4, 2025
  • 2 replies
  • 44 views

Forum|alt.badge.img

Hello RevenueCat, We switched to RevenueCatPaywall system.
It was working correctly and still is working most of our users, but paywall isn't displaying in 2 test device. 
When opening the Paywall, we send the information to MixPanel with an event whether it was displayed successfully or not.

936,000 users were able to successfully view the paywall, but 156 users were unable to open it. We're requesting assistance with this issue.

I am sending you the code we used to open Paywall below:

private fun launchPaywallActivity() {
        lifecycleScope.launch {
            delay(200)
            Purchases.sharedInstance.getOfferingsWith(
                onError = { closeWithResult() },
                onSuccess = { offerings ->
                    offerings.current?.let { currentOffering ->
                        assignedOffer = currentOffering
                        val launcher = paywallActivityLauncher
                        if (launcher == null) {
                            closeWithResult()
                            return@getOfferingsWith
                        }

                        launcher.launchIfNeeded(
                            requiredEntitlementIdentifier = "our_identifier_is_here",
                            offering = currentOffering,
                            paywallDisplayCallback = object : PaywallDisplayCallback {
                                override fun onPaywallDisplayResult(wasDisplayed: Boolean) {
                                    analyticsFacade.trackEvent(AnalyticsEvent.RCPaywallDisplayed(isSuccessful = wasDisplayed))
                                    if (!wasDisplayed)
                                        closeWithResult()
                                }
                            }
                        )
                    } ?: closeWithResult()
                }
            )
        }
    }

This post has been closed for comments

2 replies

Forum|alt.badge.img

Hello again.

 

I was able to resolve the issue on one of my test devices. I solved it by deleting the related user from the customer list in the RevenueCat dashboard.
How can I fix this issue for users who are experiencing it in the live environment?
I would really appreciate it if you could help me with this and also explain the general cause of the issue.


joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • August 8, 2025

Hi ​@mehmet-emin-yildiz-12e54f,

Would you mind opening a support ticket and sharing some user ids that are facing this problem so we can look into the network requests and logs to see what’s going on?

 

Thank you and apologies for the inconveniences!