Kent1011 / client_information

A plugin to get basic information from the client of your Flutter application
https://pub.dev/packages/client_information
MIT License
6 stars 17 forks source link

hi, thanks for the package, one question #3

Closed lucasjinreal closed 3 years ago

lucasjinreal commented 3 years ago

Only one question:

Will the deviceId change after time, or, will it change when I reinstalled the app?

device_info and device_info_plus does.

Kent1011 commented 3 years ago

In iOS, yes, it will changed.

client_information use UIDevice.current.identifierForVendor as iPhone's device id which can only make sure it's a unique string.

If you need to identify the same device, you can find more information from Apple's document: DeviceCheck

lucasjinreal commented 3 years ago

@Kent1011 How about Android?

yingwei1025 commented 2 years ago

@jinfagang, deviceId in Android wont changes after reinstall app or restart phone unless manually changes it