Skip to main content
Question

Issue with Migration to Google Play Billing Library 5 in React Native App (product unavailable)


Forum|alt.badge.img+2

Hi there,

I recently attempted to migrate my React Native app to Google Play Billing Library 5 and encountered a problem after updating the RevenueCat SDK to the latest version. I'm hoping someone in this forum can shed some light on the issue.

I updated the RevenueCat SDK in my React Native app to the latest version.

However, when I test the app in both closed testing and internal testing, I'm encountering the following error: "The product is not available for purchase." 

Has anyone else encountered a similar problem while migrating to Google Play Billing Library 5 with RevenueCat in a React Native app? Any insights, guidance, or suggestions would be greatly appreciated. I'm eager to resolve this issue and move forward with the migration successfully.

Thank you in advance for your help!

2 replies

kaitlin
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 342 replies
  • October 19, 2023

Hey @Ksenia,

This error is most likely not due to the Google Play Billing Library migration, but some other configuration issue. Can you confirm that the user you’re testing with has been added as a licensed test user to your closed testing track?


Forum|alt.badge.img+2
  • Author
  • New Member
  • 1 reply
  • October 21, 2023

Hi @kaitlin! Thanks for your answer. I degraded to "react-native-purchases": "^5.1.0" as it was before and now it works. But it means that I don’t use Google Play Billing Library 5. Do you have any suggestion, how I can solve it?


Reply


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