Skip to main content
Question

The customer center in revenue is not working with the react-native expo project. 

  • March 28, 2025
  • 1 reply
  • 55 views

Forum|alt.badge.img

Environment

​​​​​​- react-native-purchases: "^8.9.1"

- react-native-purchases-ui: "^8.9.1"

- ​​react-native: "0.76.7"​​​

Issue
I tried integrating the customer as RevenueCat documented, and nothing appeared when I clicked the “Manage Subscription” button. It seems that the RevenueCatUI.presentCustomerCenter()​ is not working. 

What I've Done

await RevenueCatUI.presentCustomerCenter({
        callbacks: {
          onRestoreCompleted: ({ customerInfo }) => {
            setCustomerInfo(customerInfo);
            checkSubscriptionStatus(customerInfo);
          },
          onFeedbackSurveyCompleted: ({ feedbackSurveyOptionId }) => {
            console.log('Feedback survey completed:', feedbackSurveyOptionId);
          },
        },
      });

Expected Behavior
The customer should have displayed it as it was configured perfectly, as instructed in the documentation. 

Actual Behavior
It does not work at all when the button is clicked, and nothing shows up. Very importantly, there has been no response error. 

Questions
1. Are there any particular settings or steps I might have overlooked?
2. Could this be linked to the specific versions of react-native-purchases and react-native-purchases-ui that I am using?

Any guidance on resolving this issue would be greatly appreciated.

This post has been closed for comments

1 reply

Forum|alt.badge.img+8
  • RevenueCat Staff
  • 557 replies
  • April 7, 2025

Hi ​@bprakash 

  1. For the setup, you’ll want to make sure that your package.json includes your react-native-purchases-ui version, see our docs here. Your code looks good.
  2. Your react native version looks good as it works on version 8.7.0 and up.

Could you please enable and send full RevenueCat debug logs that reproduce this? See our docs here for how to get these. 


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