Skip to main content
Question

Offerings in unavailable regions

  • 7 September 2023
  • 1 reply
  • 113 views

Forum|alt.badge.img+1

Hi,

When I set the availability of my Subscription to 1 country, can I assume that this:

try await Purchases.shared.offerings().current?.availablePackages

will return an empty array/error with other storefronts?

Cannot really test it via TestFlight, as it seems to discard the region completely.

1 reply

kaitlin
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 328 replies
  • September 11, 2023

Hi @blaze,

That’s correct, the offerings fetch will only show products that are available in the country that the store recognizes them as being in. 

I’m not certain about TestFlight specifically, but you should be able to test localizations in sandbox by setting your sandbox user's App Store Country or Region property to the territory you'd like to test.


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