Skip to content

Android Proguard File Creation With No Upload to VPN Self Hosted Sentry #1912

Answered by romtsn
btseytlinTCP asked this question in Q&A
Discussion options

You must be logged in to vote

Actually we are not the ones who's creating the mapping file, but the Android Gradle plugin. So your mapping file is always available (regardless of what error monitoring solution you're using), precisely at build/outputs/mapping/$variantName/mapping.txt.

When using autoUploadProguardMapping=false (note, that this is only available in the version 3.0.0 or above, which is currently at 3.0.0-beta.4), we do not auto-upload the mapping.txt file, but just generate the uuid, which is packaged inside your final apk/aab. This uuid is then used by our sentry-android SDK to associate all errors/events with the mapping file on the backend.

You can access this uuid under build/generated/assets/sentry…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@btseytlinTCP
Comment options

@marandaneto
Comment options

@btseytlinTCP
Comment options

@marandaneto
Comment options

Answer selected by btseytlinTCP
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants