Android Question Get unique id for user

webhost.company

Member
Licensed User
According to Android rules, We cannot use android_id or device_id or mac_address in new version android
As well, Use sms is not good idea for this
Please suggest to me for use unique id in each device for user
I need to it for use payment and other
Thanks
 

DonManfred

Expert
Licensed User
I recommend using Phone.GetSettings ("android_id").
?? He told that he is using higher Android Versions where it does not work anymore.
According to Android rules, We cannot use android_id or device_id or mac_address in new version android
I would like to change the recommendation to

 

Erel

Administrator
Staff member
Licensed User

udg

Expert
Licensed User
Following what we debated a few times in the Forum I would have recommended Advertising ID as @DonManfred did.
This is new and welcomed info. Thanks @Erel
 

Star-Dust

Expert
Licensed User
That statement is wrong.
Thanks Erel for this clarification.
Maybe we trusted your past posts too much 😜
 

Erel

Administrator
Staff member
Licensed User
1. You are correct. Many things related to identifiers have changed in recent years and I wasn't always aware to the usefulness of android_id.

2. The id that is most similar to mac address, phone number, IMEI and other no longer accessible ids, is the advertising identifier. This is a global id.
 
Top