Issue
The docs state that we need to place a UUID in our Android app's AndroidManifest.xml, and use that same UUID when uploading the ProGuard/R8 mapping file, so Sentry can de-obfuscate stack traces using the matching mapping file. 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.
