Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WidevineID唯一性 #61

Closed
fioogle opened this issue Dec 2, 2022 · 2 comments
Closed

WidevineID唯一性 #61

fioogle opened this issue Dec 2, 2022 · 2 comments

Comments

@fioogle
Copy link

fioogle commented Dec 2, 2022

    官方建议是WidevineID
   https://developer.android.com/training/articles/user-data-ids
   
   https://stackoverflow.com/questions/67396257
   从这个提问来看,唯一性可能有点问题
  • IMEI:Android 10+ 获取不到了;
  • AAID:系统需自带 Google Play Services 才支持,且用户可以在系统设置中重置;
  • OAID:基本上是国内知名厂商 Android 10+ 才支持,且用户可以在系统设置中重置;
  • AndroidID:可能为空;
  • PseudoID:可能重复;
  • GUID:Android 10+ 卸载APP后会丢失;
  • WidevineID:未经过验证,不知道可靠性如何;

最好是通过服务端从以上标识中通过拜占庭容错方案得到可靠的设备唯一标识。不能使用服务端的话,综合来看 AndroidID 和 OAID 相对可靠一些吧,项目中我已经提供了一个getClientId/getClientIdMd5/getClientIdSha1获取客户端唯一标识,依次获取IMEI、AndroidID、OAID、WidevineID、GUID……

Originally posted by @liyujiang-gzu in #28 (comment)

@fioogle fioogle changed the title https://developer.android.com/training/articles/user-data-ids WidevineID唯一性 Dec 2, 2022
@liyujiang-gzu
Copy link
Member

这个地址不用翻墙访问:https://developer.android.google.cn/training/articles/user-data-ids

@liyujiang-gzu
Copy link
Member

WidevineID很鸡肋,食之无味,弃之可惜,在一些国产手机上会造成闪退或卡死,自4.2.7版本已标记废弃。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants