Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
UUID is changing after application update for Android and IOS #28
Android ID is currently build by combination of three components:
Is there any reason why the latter two are used? If only Secure.ANDROID_ID (https://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID) would be used, the results should be unique and stable I guess.
Another idea: Just use https://developer.android.com/reference/android/os/Build.html#SERIAL. Even the official ordova device plugin propagates this property (https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-device/#deviceserial).
Only if neither Secure.ANDROID_ID nor Build.SERIAL are available, other source values should be used to build the id.
@angel1st Sorry for late reply. Now Android and IOS ID is not changing.
In Android it changes if:
We are now maintaining a fork of this repository https://github.com/wizpanda/cordova-plugin-unique-device-id2.