getsentry/sentry-cocoa

Simplify `deviceAppHash`

Opened this issue · 1 comments

Description

The deviceAppHash is generated in

from various factors. It ends up on crash reports in device_app_hash.

Suggestion: Look into whether it's possible to eliminate some of the factors and make the hash more random, while retaining the minimum uniqueness required for functionality.

Let's replace app.context.device_app_hash with the installationID, which we already do on Android. We have to do this in the next major. While this doesn't violate Apple's Privacy Policy, we don't want to keep the deviceAppHash in its current form cause you could use it to track a user across the same app installations.