Skip to main content
  1. About
  2. For Teams

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

Required fields*

Is there a unique Android device ID?

Do Android devices have a unique ID, and if so, what is a simple way to access it using Java?

Answer*

Cancel
10
  • Could you specify what section of the GDPR link you posted actually mentions the requirement for hashing IDs?
    David Schneider
    –  David Schneider
    2020-07-21 09:55:24 +00:00
    Commented Jul 21, 2020 at 9:55
  • 1
    @DavidSchneider the web-content is dynamic in its nature and the GDPR is just one of the examples, please note I've written " GDPR and similar regulations ", as there are many local and global regulations which affect your product / system / field. In any case the GDPR sections, that you are looking for are: Identification, Online identifiers and Data protection principles
    Nikita Kurtin
    –  Nikita Kurtin
    2020-07-21 10:39:25 +00:00
    Commented Jul 21, 2020 at 10:39
  • 1
    using com.google.firebase:firebase-messaging:23.0.0 can't find the FirebaseInstanceId method. In 2022 use FirebaseMessaging.getInstance().getToken()
    WHOATEMYNOODLES
    –  WHOATEMYNOODLES
    2022-01-20 05:46:06 +00:00
    Commented Jan 20, 2022 at 5:46
  • 3
    @famfamfam Because tracking devices is a privacy and security threat against users. There are no legitimate cases that call for it, so there is no reason to make it possible. Hw ids turned out to be mistakes and Google is slowly fixing them.
    Agent_L
    –  Agent_L
    2022-02-14 13:12:21 +00:00
    Commented Feb 14, 2022 at 13:12
  • 1
    @esentis This is a separate question. According to the policy of stackoverflow, it should be asked separately. Anyway, keep in mind that managing demos / trial versions can have business impact on your product, so I don't think there is one solution to match all cases.
    Nikita Kurtin
    –  Nikita Kurtin
    2024-03-24 07:57:27 +00:00
    Commented Mar 24, 2024 at 7:57

Morty Proxy This is a proxified and sanitized view of the page, visit original site.