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 to associate events from this installation with the rest of the user's history.

To generate a new device ID, call the 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.

Last updated