Android: unique id for the same user on all devices

Is there an unique value to identify the same Android user on different devices?

ANDROID_ID is a value which identifies the device

but what about a value to identify the user?

if you request the GET_ACCOUNTS permission in your app, you are able to access the email address of the user, but that requires your app to ask the user to grant such permission, which is not very pleasant

Anyone is aware of an unique id that an user keeps on all devices where he uses the same Google account?


You could use the AccountPicker to get the user account without using additional permission. In this way you have to show to the user a dialog to select the account. Here the docs

链接地址: http://www.djcxy.com/p/70160.html

上一篇: 使用最少权限在Cordova中唯一标识用户或设备

下一篇: Android:所有设备上的同一用户的唯一ID