谷歌玩游戏服务相同的电子邮件帐户返回差异ID [英] google play games service same e-mail account returns difference id

查看:162
本文介绍了谷歌玩游戏服务相同的电子邮件帐户返回差异ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是google-play-games-service插件,统一版本为0.9.26.

i'm using google-play-games-service plug-in for unity 0.9.26.

namespace GooglePlayGames
{
public class PluginVersion
{
// older versions, used when upgrading to other versions
public const string VersionKeyCPP = "00911";
public const string VersionKeyU5 = "00915";
public const int VersionInt = 0x0926;
public const string VersionString = "0.9.27";
public const string VersionKey = "00927";

// used to check for the correct min version or play services.
public const int MinGmsCoreVersionCode = 8115000;

// used to get the right version of dependencies.
public const string PlayServicesVersionConstraint = "8.1+";
}

我的服务器使用此ID标识用户

my server identify user with this id

Social.localUser.id  //(like 123456789012345678901) 21character

我看到此ID是唯一的,但是在发布我的应用程序后,有时用户会发送差异ID(不为null或为空,例如g1234568901234567890以相同的21个字符开头'g')因此服务器找不到用户数据.

i saw this id is unique, but after release my app sometimes user send difference id(not null or empty, like g1234568901234567890 start 'g' same 21character) so server can't find user data.

这是我的错还是某种错误?

is this my fault or kind of bug?

推荐答案

这是Play游戏服务行为的变化.有关详细信息,请参见此处:http://android-developers.blogspot.com/2016/01/play-games-permissions-are-changing-in.html .快速摘要是:

This is a change in the behavior of Play Game Services. The details are explained in more detail here: http://android-developers.blogspot.com/2016/01/play-games-permissions-are-changing-in.html. The quick summary is:

提示玩家每个帐户登录一次,而不是每个游戏登录一次玩家不再需要将其帐户升级到Google+即可使用Play游戏服务.

Players are prompted to sign-in once per account, rather than once per game Players no longer need their account upgraded to Google+ to use Play Games services.

一旦玩家首次登录,他们将不再需要登录任何未来的游戏;他们将自动登录.

Once players have signed-in for the first time, they will no longer need to sign in to any future games; they will be automatically signed in.

因此,玩游戏的摩擦更少(不需要同意屏幕,也不需要Google+帐户.

As a result, there is less friction in playing the game (no consent screen is needed, and no Google+ account is needed.

请使用Google Play开发者控制台帮助部分中联系我们"下方的电子邮件"链接,以在迁移过程中获取更多信息.

Please use the "Email" link under Contact Us in the help section of the Google Play Developer console to get more information during your migration efforts.

这篇关于谷歌玩游戏服务相同的电子邮件帐户返回差异ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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