Hi All,
As per the Apple documentation:
"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."
Scenario:
1) One of my user has a TestFlight build v1.0.0(0) on his device.
2) He updated the build with v1.0.0(1) on the same device.
Here, this value 'UIDevice.current.identifierForVendor!.uuidString' got changed. This is so crucial to us to know because we have a logic on app update linked to this value. We assumed this value dont change when user updates the app from TestFlight/AppStore since both are built with AppStore distribution provisioning profile.
Note: User didnt deleted/uninstalled the app. He just updated the build from v1.0.0(0) to v1.0.0(1)
Please let me know your thoughts.