Skip to main content

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

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,


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


Hi ​@DevTec,

The version is available now! You can find the pull request here and it’s in the version 8.10.0.

Let me know if it works!


Reply