Skip to main content
Question

Displaying subscription period and price of active subscription in React Native App.


Forum|alt.badge.img

I need to display the subscriptionPeriod and the price of the currently active subscription directly within the app.

My app uses anonymous user IDs (no login or authentication), and I don’t have a backend server involved.

What is the best way to retrieve and display this information using the RevenueCat React Native SDK?

This post has been closed for comments

2 replies

Forum|alt.badge.img+2
  • Member
  • 5 replies
  • June 23, 2025

Hi,

Given that you do not have a backend/server, you’d have to call RC’s RestAPi and send their anonymous ID to retrieve the details of that subscription from your client/front-end.

Alternatively, you could use device-info, get the device-id of the user, then, use that to pass into the config. Store that device ID in local storage, then, use that in the account section and pull the local-storage and use a useEffect to set a useState then send that to their Rest API to get the users sub details.


Forum|alt.badge.img+8
  • RevenueCat Staff
  • 617 replies
  • June 27, 2025

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