I wanted to know if there is a prefered way to fetch a unique "ID" from the user of the app. The thing is that I need to differentiate between phones under one "Company Account".
As it seems, android and apple made it hard for us to get the needed information.
The best shot seems to be: https://pub.dev/packages/flutter_udid
But I just want to know if there is a better solution?
flutter_udid looks good, but I am a bit surprised that Android/Apple are giving us a hard time fetching a unique device UID
I understand you want to get device id. This id is unique and does not change until the device is reset. You can use it for identification.
Add
platform_device_idto yourpubspec.yaml.Here's code to get device Id using
platform_device_idpackage.