Olivia Alkom Olivia Alkom - 1 year ago 84
Android Question

Does UUID change when factory reset, in Phonegap android

I depends on device.uuid to control my users, Does UUID change when factory reset, in Phonegap android.

Answer Source

device.uuid on android it gets the native android.provider.Settings.Secure.ANDROID_ID

According to the docs

A 64-bit number (as a hex string) that is randomly generated when the user first sets up the device and should remain constant for the lifetime of the user's device. The value may change if a factory reset is performed on the device.

Note: When a device has multiple users (available on certain devices running Android 4.2 or higher), each user appears as a completely separate device, so the ANDROID_ID value is unique to each user.

So yes, if the user do a factory reset the value may change.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download