什么是唯一标识Android用户到服务器的最佳途径?标识、途径、服务器、用户

2023-09-08 09:28:58 作者:昔颜、

我应该如何去识别一个Android用户的服务器。我应该得到的IMSI号以及腌制的算法?考虑到机器人的空间和性能限制是有,是不是太沉重,我可以用做计算出库?

How should I go about identifying an android user to a server. Should I get the IMSI number and some salting algorithm? Considering androids space and performance limitations is there a library that isn't too heavy that I can use to do the calculation?

推荐答案

我认为你不能识别用户,没有任何形式的帐户。一切是不可靠的,或只是一个设备标识。你为什么不为你的服务器提供自己的注册服务,让您能给出一个唯一的ID给每个用户。

I think you cannot identify a user without any kind of account. Everything else is not reliable or only a device identification. Why don't you provide an own registration service for your server, so you can give an unique id to every user.

另一种选择可能是被绑定到设备上的谷歌帐户?还是将砍你的目标受众您的吗?但是,如果你正在构建延伸某种谷歌的工具,应用程序或任何那么用户就已经有一个谷歌帐户,以便您的应用程序也可以使用它来识别用户的应用程序。

Another option might be the Google account which is bound to the device? Or will this cut you target audience for your up? But if you're building an app which extends some sort of Google tool, app or whatever then user will already have a Google account so your app could also use it to identify the user.