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.