Android: get user ID without requiring scary (for user) permissions?

后端 未结 4 1324
天涯浪人
天涯浪人 2021-02-04 04:33

In order to manage user preferences, at present I\'m grabbing the google user name (effectively the email address they\'ve registered to the device) and using (a hash of) that a

4条回答
  •  一生所求
    2021-02-04 05:30

    You can use a Google advertising ID as a UUID, but it's not cross-device(yet?):

    https://support.google.com/googleplay/android-developer/answer/6048248?hl=en

    That'll at least get rid of the scary permission request.

    I don't believe Android/Google has a cross-device UUID that doesn't require permission, though Doubleclick by Google supposedly was developing one.

提交回复
热议问题