> For the complete documentation index, see [llms.txt](https://documentation.freshpaint.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.freshpaint.io/reference/faqs/if-a-user-re-installs-my-app-will-freshpaint-generate-a-new-device-id.md).

# If a user re-installs my app, will Freshpaint generate a new device ID?

Yes, if a user deletes and re-installs your iOS or android app, events that are tracked with Freshpaint will have a different device ID after the re-install. Once the user logs in, you can [provide the user's identity to Freshpaint](/readme/setting-up-identify.md) to associate events from this installation with the rest of the user's history.

To generate a new device ID, call the [`reset()`](/reference/developer/freshpaint-ios-sdk-reference.md#reset) method on the Freshpaint SDK for your platform. For example this may be useful if a user logs out and logs in to a different account.
