Skip to main content
Question

How to add customer info on presentPaywall?

  • September 20, 2024
  • 1 reply
  • 23 views

Forum|alt.badge.img+3

Is there a way to send customer data when you use presentPaywall?  All of my customers are anonymous.

App User ID

$RCAnonymousID:dad1b19971024dfcbb968e83ac87e288

I’m using the react node package,

import RevenueCatUI from 'react-native-purchases-ui';

await RevenueCatUI.presentPaywall({

displayCloseButton: false,

});

This post has been closed for comments

1 reply

Michael Fogel
Forum|alt.badge.img+6
  • Dedicated Contributor
  • 382 replies
  • September 24, 2024

Hey @avantassel ,

 

You should be able to just make the call either before you present the paywall or after. You are not currently able to show the customerInfo on your paywall screen by adding that anywhere in the paywall options but I can share that with the team as a feature request to see if that is something that they would like to implement. 

 

We do recommend that you call customerInfo before presenting a paywall so you can ensure that you are showing paywalls to users who dont currently have a subscription. 

 

Let me know if that helps and if you have any other questions! 


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