-
Notifications
You must be signed in to change notification settings - Fork 207
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
Use Advertising ID instead of Android ID. #83
Comments
This is a nice catch, @georgiev-martin. Since identifier implementations tend to vary between manufacturers (and Android ID is now deprecated), it is best to replace it. The better implementation is probably to generate and persist a UUID for the device rather than use the advertising identifier though, since play services may not be available (on Amazon phones, for example). |
The issue with changing this is that when customers update to use the new version we will suddenly count additional users affected by issues as the default user id will have changed |
True, but it's known to not be consistent (nor unique in some cases), already. Persisting an ID going forward would allow us to have a fallback in the case that we change the behavior incrementally. |
Is this really an issue at the moment? In what way does this change help you @georgiev-martin ? @kattrali Where is it depcrecated? http://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID I agree with @snmaynard that changing it would skrew the backend and it's tracking over. Going into the future the AndroidID should become more and more reliable as buggy devices drop out of use (assuming newer devices are not worse) and if desired we can already use |
As we don't want to double count the users affected by a bug when people upgrade to a new version of a notifier, and that the AndroidID seems to be working well for us right now - I'm going to close this issue. |
I'd like to resurrect this issue again as this was just flagged to us as a security issue, please see the explanation below:
|
We could have a configuration option that people could opt in to switch it over. I'm a little concerned that changing the user id will double count all users affected as Bugsnag will see the same user with a different id. Maybe having some kind of option will solve this. |
sounds like exposing this as a configuration parameter would be the best option |
I don't think we need an extra configuration parameter. We generate a random UUID, save it and use that to identify installs. To transition to this we detect if an app is was upgraded and does not have a UUID yet, if so we generate the new UUID based on the Android_ID. For new app installs we generate a completely random UUID. This way we don't generate duplicates on current deployments due to the code change. Now from that point on, by default, bugsnag tracks by install (new app installs means new generated UUID). It's good for peoples peoples privacy and if someone wants to still track across installs, something like Android_ID can still be used with The difficult part is finding out if we are a new install or an upgrade, to know whether we need to use the Android_ID one last time to generate a UUID. This would solve @felipecsl concerns over the Android_ID and minimize @snmaynard concern about duplicating the user counts. I don't think this is a security concern, but rather a user privacy issue and I'm in favor of having the default configuration be the one with increased privacy. Thoughts on this? |
👍 to having no configuration. Configuration should always be a last On Fri, Sep 2, 2016 at 2:05 PM Matthias Urhahn [email protected]
|
Yep, this is ultimately a privacy issue. Having it UUID based works for me too, I don't have a strong opinion on the actual implementation details. |
Any update on this? |
Implemented my idea of this in #141 |
Android O changes |
@kattrali any news about this issue? |
https://github.com/bugsnag/bugsnag-android/blob/master/src/main/java/com/bugsnag/android/DeviceData.java#L140
The text was updated successfully, but these errors were encountered: