Issue
The docs say that we need to configure a UUID in our Android XML config file so that Sentry can resolve the stack traces to the relevant source map. What isn't clear to me is whether this UUID is unique per app, or per build. Do we need to regenerate the UUID for every single build or is it sufficient to generate a single static UUID and commit it into the repo?
Applies To
- All SaaS Customers and Self-Hosted Users
- Android
- ProGuard
Resolution
The UUID for Android Proguard mappings changes per build, not per application.
According to our docs here, a random UUID is generated for each build and placed into the AndroidManifest.xml
. This UUID is used to upload the mapping file(s) for that specific build.
It is worth noting that we are not really associating ProGuard mappings with a version, but rather generate a UUID that we then inject into your final apk/aab, and this UUID gets read at runtime by the SDK and sent with every event.