Skip to main content
Question

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

  • June 18, 2025
  • 2 replies
  • 64 views

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+3
  • Member
  • 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
  • June 27, 2025