Skip to main content
Question

How to check if the user is on the US storefront?


Forum|alt.badge.img+4

Hello, is there a way to check if the user that hasn't bought anything yet, is from Apple US Storefront with react native?

2 replies

joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 402 replies
  • May 14, 2025

Hi ​@DevTec,

You can use the `getStorefront` function from the RevenueCat SDK to get the user’s storefront. With that you’ll be able to compare if that it’s equal to USA.

 

Best,


Forum|alt.badge.img+4
  • Author
  • New Member
  • 1 reply
  • May 14, 2025

Hi ​@joan-cardona 

I’m waiting for the next release of `react-native-purchases` that implement the  `getStorefront` function. Right now is not available in npm. 

Thank you


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