Hi there,
I'm working on an app that uses the UUID to create a Machine ID that can be compared to a key to allow use of the app. It was working great for a bit especially on the iPhone 7 I could uninstall and reintall the app and the ID would remain the same. However on the iPad and a few older iPhones the ID would change everytime there was an install or update.
After some searching it seemed that it is normal for the UUID to change when installing/updating the app but I'm not sure of why it would stay the same in some cases and change in others.
Would it be better to put the generated ID on the keychain on the first install so it would be consistent?
This is the line of code I'm using to get the UUID (Swift):
UIDevice.current.identifierForVendor!.uuidString
Thanks in advance.