确定Play商店的国家/地区 [英] Determine Play Store Country

查看:731
本文介绍了确定Play商店的国家/地区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找是否有任何方法可以判断用户在其Android手机上具有哪个国家/地区的Play商店.

基本上,我想关闭某些国家/地区的应用内购买功能(出于征税原因).我已经尝试过语言环境,但是可以通过更改电话中的语言来更改.我认为唯一可以确定他们来自哪个国家/地区的是通过与Play商店关联的Google帐户进行的.

任何帮助将不胜感激.谢谢.

解决方案

我不确定要以编程方式检查其Google帐户所在的国家/地区,但是如果您要定位特定的区域,则可以在Google Play开发者控制台中执行此操作.

地理定位

用于确定国家/地区的Google Play说明

即使这不是程序/代码的答案,我希望这比在应用程序中找出问题要容易得多,从而解决了您的问题.

I'm looking to see if there is any way to tell what country version of the play store a user has on their android phone.

Basically I want to turn off In-App Purchasing for certain countries (for tax collecting reasons). I have tried Locale but that can be changed by changing the Language in the phone. I figured the only thing that can determine what country they are from would be by the Google account that is connected to the play store.

Any help would be much appreciated. Thank You.

解决方案

I'm not sure about programmatically checking their google account country, but if you want to target specific regions, you can do that within the Google Play Developer console.

Geographic targetting

Google Play Instructions for determining country

Even if it isn't a program/code answer, I hope this solves your problem much more easily than having to figure that out in your application.

这篇关于确定Play商店的国家/地区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆