Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flutter: win/linux supported native symbols #12536

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions docs/platforms/flutter/upload-debug.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,15 @@ For a standard build:
- `flutter build apk`
- `flutter build ios`
- `flutter build macos`
- `flutter build windows`
- `flutter build linux`

For an obfuscated build:
For an [obfuscated build](https://docs.flutter.dev/deployment/obfuscate):
- `flutter build apk --obfuscate --split-debug-info=<output-directory>`
- `flutter build ios --obfuscate --split-debug-info=<output-directory>`
- `flutter build macos --obfuscate --split-debug-info=<output-directory>`
- `flutter build windows --obfuscate --split-debug-info=<output-directory>`
- `flutter build linux --obfuscate --split-debug-info=<output-directory>`

<Alert>

Expand Down Expand Up @@ -157,16 +161,16 @@ You will need to upload the following files:

Sentry requires a dSYM upload to symbolicate your crash logs. The symbolication process unscrambles Apple’s crash logs to reveal the function, file names, and line numbers of the crash. [Learn how to upload the dSYM files](/platforms/apple/dsym/).

### Android
### Android, Windows and Linux

See our docs on uploading [Debug Information Files](/cli/dif/#uploading-files) manually with the Sentry CLI.

### Android NDK

See our docs on uploading [Debug Information Files](/cli/dif/#uploading-files) manually with the Sentry CLI.
<Alert>

If you're using a version of `sentry_flutter` earlier than 5.1, native symbolication on Android requires a specific configuration. Refer to [Troubleshooting](/platforms/flutter/troubleshooting/#native-symbolication-on-android) for more information.

</Alert>

<Alert>

Sentry's Flutter SDK doesn't currently support the `uploadNativeSymbols` flag from the [Sentry Gradle Plugin](/platforms/android/configuration/gradle/).
Expand Down
Loading