How to recognise which App Store the game was installed from

Hello,

I’m making a game which will have a different name based on the region it’s installed from, because of this I need to change the in game logo to match the game name on the App Store (currently only for Apple App Store).

I’m trying to find a way to recognise if it was installed from say, the UK App Store, or another, and make changes accordingly. In past games I’ve referenced the language the device is using to set the localisation but that’s not going to work 100% as someone could install from one store and have their device in a different language.

Is there any way for me to do this in Unity, or do I need to just use the device language? One other option is to ask the user, not ideal but if I asked them if they’re from here or here then i could save that and make changes accordingly.

Many thanks,
Scott

Don‘t go by „installed from“ but by the device locale. You can expect this to match in almost every case. Some outliers are used to apps not matching the store.

Also, one can change the store language respectively that is based on the device locale. I‘m not sure if this affects the app‘s name but I think it would. There may not even be a specific UK store but merely a regional lock that allows for custom pricing or prohibiting downloads in some regions depending on where the user connects from. So at best you could check the user‘s IP but even then the user has VPN to get around this.

If you try to fight this you are more likely to confuse users and cause issues.

1 Like

Hi, thanks for you reply.

If I remember correctly changing the name in the store is done in the App Store Connect and changing it on the home screen (e.g. below the App icon) is done via Xcode when building (for iOS at least), it’s in the game that I want to know how to recognise the region.

“Don‘t go by „installed from“ but by the device locale”

Do you know what code I’d use to get the device locale, as I think that would be good enough to work for what I’m trying to do.

Thanks