Storefront API

The storefront information tells you the device's App Store region. You can use this information to display products specific to the region.

The storefront is represented as ISN_SKStorefront:

public class ISN_SKStorefront
{
    /// <summary>
    /// The three-letter code representing the country associated with the App Store storefront.
    /// This property uses the ISO 3166-1 Alpha-3 country code representation.
    /// </summary>
    public string CountryCode
    {
        get { return m_CountryCode; }
    }

    /// <summary>
    /// A value defined by Apple that uniquely identifies an App Store storefront.
    /// </summary>
    public string Identifier
    {
        get { return m_Identifier; }
    }
}

And can be retrieved using the ISN_SKPaymentQueue

using SA.iOS.StoreKit;
...

var storefront = ISN_SKPaymentQueue.Storefront;

The ISN_SKStorefront object containing the location and unique identifier of an Apple App Store storefront.

In-app products you create through App Store Connect are available for sale in every region with an App Store. You can use the storefront information to determine the customer's region, and offer in-app products suitable for that region.

You must maintain your own list of product identifiers and the storefronts in which you want to make them available.

Note
Do not save the storefront information with your user information; it can change at any time. Always get the storefront identifier immediately prior to displaying product information or availability to the user in your app. Storefront information may not be used to develop or enhance a user profile, or track customers for advertising or marketing purposes.

If the storefront changes during a transaction, you are notified by DidChangeStorefront of the ISN_iSKPaymentTransactionObserver.