Why does appmetrica_device_id change when the app is reinstalled?
Note.
Starting with the Android AppMetrica SDK 5.0.0 and higher, appmetrica_device_id
changes when the app is reinstalled on a smartphone. This is due to new Google policies.
appmetrica_device_id
change conditions:
- Current Google policies prohibit the use of IDs that are not reset after the app is reinstalled.
- The recommended source for generating the device ID is described in the Google documentation.
appmetrica_device_id
is generated from it. appmetrica_device_id
is reset when the app is reinstalled if only one vendor app is installed on the device.appmetrica_device_id
is not reset when one of the apps is reinstalled if several vendor apps are installed on the device.- Other behavior subjects the app to legal claims from Google.