getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
38.95k stars 4.18k forks source link

Proguard mapping file not included inside debug_meta on flutter application #77949

Open lberaldodev opened 1 month ago

lberaldodev commented 1 month ago

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. Flutter application (3.19.6)

  2. Sentry 4.2.0

  3. Build.gradle settings includeProguardMapping = true autoUploadProguardMapping = true dexguardEnabled = true uploadNativeSymbols = true autoUploadNativeSymbols = true includeNativeSources = true includeSourceContext = true

  4. Check if proguard file was uploaded Image

  5. Check if debug files includes proguard file Image

  6. Check the json issue Image

Expected Result

When we upload the proguard mapping file, we expect to see the full stack trace Image

Actual Result

No stacktrace included and no proguard type included on debug_meta Image

Product Area

Issues - Source Maps

Link

No response

DSN

No response

Version

No response

getsantry[bot] commented 1 month ago

Auto-routing to @getsentry/product-owners-issues for triage ⏲️

scttcper commented 1 month ago

Does the issue have the release set?

lberaldodev commented 1 month ago

Does the issue have the release set?

Yes, the release is set to each proguard correctly. We can inspect the release oppening the link from the image below Image

scttcper commented 1 month ago

I mean does the issue have a release tag

lberaldodev commented 1 month ago

I mean does the issue have a release tag

My bad :) I don't think so...

It's a very old problem here at my project, he already used fastlane , sentry cli, dart flutter cli, and now we are using gradle. I think that is not a version problem... but i'm focused to solve it.

scttcper commented 1 month ago

I think this is usually why sourcemaps wouldn't work correctly. If that doesn't fix your issue, feel free to reopen this issue.

lberaldodev commented 1 month ago

Hey @scttcper my bad. Is this tag that you mentioned? :"D Image

scttcper commented 1 month ago

@lberaldodev yes does that release have the proguard mappings associated with it?

lberaldodev commented 1 month ago

yes, men! check the evidences ... the release version is the same of the error

Image Image

scttcper commented 1 month ago

@lberaldodev can you share a link to the issue

lberaldodev commented 1 month ago

I can share the json issue, can be it?

scttcper commented 1 month ago

@lberaldodev opening a ticket with support would also allow us to debug further. Link to this issue as well if you do that.