Nehal Babu
Nehal Babu

Reputation: 90

How to get a unique and immutable device identifier in Flutter for Android?

I am building a Flutter app where I need to identify devices uniquely. Ideally, the identifier should:

  1. Be unique to each Android device.
  2. Remain constant even after app updates or reinstallation.
  3. Not change after a factory reset, if possible.

I have explored the following options:

Is there a reliable method in Flutter to get a unique device identifier that fits these criteria? If not, what is the best alternative to achieve this in a privacy-compliant way?

Code examples or package recommendations would be greatly appreciated.

Upvotes: 0

Views: 43

Answers (0)

Related Questions