Hi RevenueCat Community,
I’m currently developing a React Native app and using a custom paywall implementation. We’re now considering switching to the SDK’s paywall if one is configured for the user's current offering. However, we’ve encountered a challenge: the RevenueCat API response doesn’t seem to include an explicit flag or property indicating whether a paywall is configured for an offering. If showing the UI Paywall without a paywall configured, a default, rather bland screen is shown.
At the moment, we rely on naming conventions (e.g., identifiers like "sandbox_no_paywall"
vs. "sandbox_offer"
) and occasionally custom metadata fields, but this approach feels hacky and a bit fragile.
I’m curious:
- Is there a built-in or recommended way within RevenueCat to detect whether a paywall is configured for an offering?
- Are there any best practices or plans to support a native flag (e.g.,
"hasPaywall": true
) in the API response? - If not, what do you recommend as the best approach to distinguish between offerings with and without a paywall, especially in a React Native environment?
Any insights or recommendations would be greatly appreciated!
Thanks in advance,
fishbrain