Skip to main content
Question

[React Native] no error event for RevenueCatUI.PaywallError 0

  • Feb 10, 2025 7:02 AM UTC
  • 1 reply
  • 276 views

Forum|alt.badge.img+4

Hello,

I’m trying to set the paywall dynamically inside of my app, and I have certain offers that do not yet have paywalls created.

I was trying to create a fallback in this case, to prevent user error on our end, in the case we do not have a paywall setup for a specific offer, so that we dont present the user with a black paywall screen.

I noticed there wasnt any event that triggers in this case that ` RevenueCatUI.PaywallError 0  ` fires.

Wondering if there is a way to react to this error being fired, so I can handle it.

 

Thanks

This post has been closed for comments

1 reply

Forum|alt.badge.img+8
  • RevenueCat Staff
  • Feb 18, 2025 4:56 PM UTC

Hi, right now we do not have any custom error handling available to catch an error like “RevenueCatUI.PaywallError 0” but this is something we are considering, no ETA. 

I recommend to only show offers that have paywalls to avoid that error.