karantanwar / unique_identifier

A flutter plugin for getting the unique serial number for android and identifierForVendor in ios
MIT License
8 stars 33 forks source link

iOS: the identifierForVendor is not the same after uninstalling the app #16

Closed HamzaMihfad closed 11 months ago

HamzaMihfad commented 1 year ago

The identifierForVendor in iOS is not the same, it's not unique after uninstalling and installing the app again from App Store it gives you a new id.

dmiedev commented 11 months ago

The value in this property remains the same while the app (or another app from the same vendor) is installed on the iOS device. The value changes when the user deletes all of that vendor’s apps from the device and subsequently reinstalls one or more of them. The value can also change when installing test builds using Xcode or when installing an app on a device using ad-hoc distribution. Therefore, if your app stores the value of this property anywhere, you should gracefully handle situations where the identifier changes.

Source: https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor

dmiedev commented 11 months ago

@karantanwar this can be closed I think :]