Each time an iOS app is installed a new device token is generated.
When the app asks the user for permission to push notifications one can get the new device token value.
How can I know that this device token is from the same device (e.g., the user has deleted and reinstalled the app) and not from another device used by the user? I want to replace the copy of the device_token stored on my server with the new value.