简体   繁体   English

Firebase和Android中的匿名用户身份

[英]Anonymous User Identity in Firebase and Android

Im trying to work out some further issues with Firebase / Android. 我正在尝试解决Firebase / Android的其他问题。

The link here, https://developers.google.com/actions/identity/user-info shows the concept of Anonymous User Identity and it's consistent Identity between devices - ie Google Home should be the same as an Android device. 此处的链接https://developers.google.com/actions/identity/user-info显示了匿名用户身份的概念及其在设备之间的一致身份-即Google Home 应该与Android设备相同。

Yet no joy. 却没有喜悦。 The two User ID's returned, one from FirebaseUser.getUid() on Android, and the other from app.getUser().userId are not the same. 返回的两个用户ID不同,一个来自Android上的FirebaseUser.getUid() ,另一个来自app.getUser().userId

Any thoughts on why this would be when their own documentation says it should be the same? 如果他们自己的文档说应该相同,为什么会有这样的想法呢?

Are you sure that these requirements are met? 您确定满足这些要求吗?

  • The user's Google account is the same on both devices. 两台设备上用户的Google帐户相同。
  • The user registered their voice on Google Home 用户在Google Home上注册了语音
  • The user's voice is matched on the Google Home. 用户的语音在Google Home上匹配。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM