-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UUID is changing after application update for Android and IOS #28
Comments
I'm not very sure about that, whether it changes after application update or OS version update. But it happens, and we're seeing many customers with this issue. Any help would be appreciated. |
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. |
Hi @regnete , Thanks for your reply. Can you please tell me how is IOS UUID is generated? |
I'm not a comiter for this project. I just made some suggestions to improve the plugin. The iOS UUID is generated in a far different way. I gues they generate random UUID on first access and store it in the iOS keychain which is device specific. |
Okay @regnete , Thanks. |
If i remmeber correctly this is required by the itunes app store rules. you are not allowed to track the physical device. |
@rooz121359 Unfortunately, NO. :( |
@razam217 - 9 months latter - any development - did you find a better substitute on this plugin? Or perhaps a workaround? |
@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. |
I'm getting many logs from our customers, where the UUID is changing for every customer who has updated the application to newer version.
This is happening mostly with Android 6.0+ and IOS 10.0+.
I'm currently using 1.3.2 version of this plugin.
The text was updated successfully, but these errors were encountered: