'Get unique identifier for android device which is common across multiple applications
I have been using
Android.Gms.Ads.Identifier.AdvertisingIdClient.GetAdvertisingIdInfo(ApplicationContext).Id;
To get a unique identifier common across the device for multiple applications.
But now, since 1st April 2022, Android has changed its policies.
I have already used
Secure.GetString(context.ContentResolver, Secure.AndroidId)
UUID.randomUUID().toString();
This gives a different ID for every other application.
Can anybody suggest getting a unique device identifier that is common across the device, even for multiple applications?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
