**ATTENTION **
**The person who made this package is called "BestBurning" and is a complete idiot because he simply abandoned the package and no longer maintains it. Google, on the other hand, does not take any action.
We have to use another alternative.**
@paulobreim try this fork: https://github.com/faridfedora/platform_device_id_kotlin_updated
or just add these lines to your dependency:
platform_device_id:
git:
url: https://github.com/faridfedora/platform_device_id_kotlin_updated.git
ref: main
My big concern is that I have hundreds of users whose key is exactly the device_id, so I would have to use an alternative lib but that provides the same number as the device_id. After a lot of research, I found one that works well and is very simple. flutter_udid and to get the device_id String udid = await FlutterUdid.udid; It returned the same number.
@paulobreim thanks for sharing that