getsentry/sentry-dart-plugin

Plugin does not upload Flutter native symbols

r-i-c-o opened this issue · 2 comments

For some reason, Sentry does not display Flutter native calls despite all symbols were uploaded via sentry-dart-plugin

Environment

Flutter 3.10.6
sentry_dart_plugin: ^1.5.0
pubspec content:

sentry:
  upload_debug_symbols: true
  project: our-project-name
  org: project-org
  auth_token: our-token
  wait_for_processing: true
  log_level: warn
  commits: false

Steps to Reproduce

  1. run flutter build ios
  2. run dart run sentry_dart_plugin

Expected Result

No <redacted> messages in Sentry

Actual Result

изображение

This is tracked by https://github.com/getsentry/team-ingest/issues/452 but it's a private repo.

We'd like to do this via symbol servers (automatically) https://docs.sentry.io/platforms/unreal/data-management/debug-files/symbol-servers/

Flutter has its own symbol server, https://github.com/flutter/flutter/wiki/Crashes#ios
You can download the symbols from your Flutter version and upload them manually with sentry-cli.

What we can do now is manually document these steps here at least, I will check the priorities for https://github.com/getsentry/team-ingest/issues/452 as well.

vaind commented

Flutter debug symbols will be uploaded automatically once getsentry/sentry-dart#1673 gets merged.

All the iOS, macOS and Android symbols for all stable Flutter versions since v3.0.0 are already uploaded in Sentry built-in symbol servers. Therefore, new errors should be symbolicated on the server automatically without any changes from Sentry users, nor a new app release is necessary to enable this.